Simple NodeJs backend service for retrieving employees by position
The project requires npm and nodeJs installed
- Install typescript:
npm install -g typescript
- Install npx:
npm install npx
- Install project dependencies:
npm install
npx ts-node src/Server.ts
- Check localhost ap port 8080
Postion | Url |
---|---|
All Employees | http://localhost:8080/allemployees |
Juniors | http://localhost:8080/juniors |
Programmers | http://localhost:8080/programmers |
Engineers | http://localhost:8080/engineers |
Experts | http://localhost:8080/experts |
Managers | http://localhost:8080/managers |
Admins | http://localhost:8080/admins |
Nonadmins | http://localhost:8080/nonadmins |