/API-rh

Primary LanguageJavaScript

API-rh

The project uses port 8000.

Intructions:

You should have Nodejs and npm installed. Clone the project with "git clone" and inside the root folder run "npm install", to install all Node dependencies. You can use Postman to test the endpoints.

Endpoint Jobs

- create Job: http://localhost:8000/api/job/create (Post request);

- My Resgistred Jobs: http://localhost:8000/api/job/me (Get request);

Endpoint Job Type

- Create job type: http://localhost:8000/api/type/create (Post request);

- All my registred Jobs type: http://localhost:8000/api/job/me (Get request);

Endpoint User

- Register user:http://localhost:8000/api/register (Post request);

- Login: http://localhost:8000/api/login (Post request);

- Logout http://localhost:8000/api/logout (Get request);

- User profile: http://localhost:8000/api/me (Get request);

- Show all users: http://localhost:8000/api/allusers (Get request);