Skip to content

ali-husnain/todo-express-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Todo Rest Node Api

What is this?

This is a proof-of-concept (POC), RESTful Web Services application built on top of NodeJS.

Get Started

  • Install dependencies.
npm install
  • Verify the .env file having PORT, NODE_ENV and other variables.

  • Verify the Database configuration in config/config.json.

  • Like that

{
   "username": "postgres",
   "password": admin,
   "database": "todo-app",
   "host": "localhost",
   "dialect": "postgres",
   "logging": false,
   "pool": {
     "max": 5,
     "min": 0,
     "acquire": 30000,
     "idle": 10000
   }
}
  • Start the application.
npm run start