This is a sample Express REST API for Employee Department Data models.
- Clone the repository
- Install dependencies:
npm install
- Create database 'company_db' in Postgres
- Create a .env file with and set DB_HOST, DB_PORT, DB_NAME, DB_USERNAME and DB_PASSWORD as mentioned in .env.example file
- Start the app:
npm start
Now the app should be up. Try: http://localhost:7001/employees