Todo application created using expressjs, ejs and postgresql. Uses a 2 tier architecture.
Author: Ernest Wambua Date: 31/03/2022 email: [email protected]
- NodeJS - Runtime
- ExpressJS - Server
- EJS - Templating Engine
- PostgreSQL - Database
Install dependencies using a package manager of your choice npm
, yarn
, pnpm
npm install
Before running the application make sure you define the following environment variables either on your system or in a .env
file
DB_HOST={YOUR_DATABASE_HOST}
DB_PORT={YOUR_DATABASE_PORT}
DB_DATABASE={YOUR_DATABASE_NAME}
DB_USER={YOUR_DATABASE_USER}
DB_PASSWORD={YOUR_DATABASE_PASSWORD}
Use the following command to run the application
npm start
Then head on over to http://localhost:3000
That's it! Enjoy 😊