- Simple todo list.
- Built with node and postgres using sequelize.
- Allow user creation, "PUT /user/new", {username, password} on request body.
- Allow user to create a todo list.
- Show all tasks, "GET /:id/task".
- Create new task, "PUT /:id/task/new/:task_name"
- Show detail of a single task, "GET /:id/task/detail/:taskId"
- Update task status(completed or not), "PATCH /:id/task/edit/:taskId"
- Delete task, "DELETE /:id/task/delete/:taskId"
Note: id is user id and taskId is id for different tasks created by user.
- express
- pg
- sequelize
- dotenv
To clone and run this application, you'll need Git, Postgres, Node.js (which comes with npm) installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/nkp1111/node-postgres.git
# Install dependencies
$ npm install
# provide proper values for environment variables in .env file
# Run the app
$ npm start
- Website Neeraj Parmar
- GitHub nkp1111
- Twitter - @nkp11111507