#Todo Rest Node Api
This is a proof-of-concept (POC), RESTful Web Services application built on top of NodeJS.
- 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