Skip to content

furqan-abid/todoList-using-PostgreSQL-Express-Nodejs-By-Furqan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markdown Copy code

Todo List using PostgreSQL, Express, and Node.js

This project implements a simple Todo List application using PostgreSQL for the database, Express for the backend, and Node.js.

Features

  • Create a Todo: Allows users to add new tasks to the list.
  • Update a Todo: Enables users to modify existing tasks.
  • Delete a Todo: Allows users to remove tasks.
  • Get a Single Todo: Retrieves a specific task by its ID.
  • Get All Todos: Retrieves the entire list of tasks.

Setup Instructions

Prerequisites

  • Node.js installed
  • PostgreSQL database instance
  1. Clone the repository:
    git clone https://github.com/furqan-abid/todoList-using-PostgreSQL-Express-Nodejs-By-Furqan.git
    
  2. Navigate to the project directory:
  • cd todoList-using-PostgreSQL-Express-Nodejs-By-Furqan
  1. Install dependencies:
    npm install
    
  2. Set up environment variables: Create a .env file in the project server/config/config.env and add the following:
  • DB_USER_NAME=your_postgres_username
  • DB_PASSWORD=your_postgres_password
  • DB_HOST=your_postgres_host
  • DB_PORT=your_port
  • DB_NAME=your_database_name
  1. Run the application:
    npm run dev
    

Contributors @furqan-abid

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors