Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 429 Bytes

Readme.md

File metadata and controls

13 lines (11 loc) · 429 Bytes

Company API

This is a sample Express REST API for Employee Department Data models.

To run

  1. Clone the repository
  2. Install dependencies: npm install
  3. Create database 'company_db' in Postgres
  4. Create a .env file with and set DB_HOST, DB_PORT, DB_NAME, DB_USERNAME and DB_PASSWORD as mentioned in .env.example file
  5. Start the app: npm start

Now the app should be up. Try: http://localhost:7001/employees