Simple NodeJS backend service for retriving employees by possition.
the project require 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
Possition | 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 |