Jobbee API is a backend RESTful API that is build in Node.js that include features like: jobs, users, authentication etc.
All Requests related to jobs. Like: Create, Read, Update, Delete, Apply to Job etc
Get all jobs that are stored in Database.
| Key | Value | Description |
|---|---|---|
| positions | 2 | |
| positions | 10 |
Create and add job to database. User must be authenticated and must be employeer.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json | |
| Authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVlNjI0NjQ3MDhlNzk5NjhkYzE0NmY5MyIsImlhdCI6MTU4MzUwMjkxMCwiZXhwIjoxNTg0MTA3NzEwfQ.LKCBYzVW-6B3EzuYANcFIlraFSQwdQ-Tob3aooC7w2s |
Get all jobs with specific distance or radius by providing zip code.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
Delete job from database using ID.
Update a job in database using ID.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
Gives single job by providing id and slug.
Gives stats about a topic.
Apply to any by uploading resume.
| Key | Value | Description |
|---|---|---|
| file |
All routes realated to authentication like: register a new user, login in user, password reset etc
Login user with email and password
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
Register user with email, password, name and role. Encypted password will be saved in database.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
Send password reset email with token and expire time
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
Reset new password of that account.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
Logout user from api and also expires the cookie.
All routes realated to User.
Gives data of currently logged in user.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
Change the currently logged in user password.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
Update the currently logged in user data like: email, name
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
Delete currently logged in user from that database with it’s files.
| Key | Value | Description |
|---|---|---|
| Content-Type | application/json |
Show all the jobs in which the currently logged in user has applied.
Gives all jobs that are created by currently logged in employeer or admin.
Show all the users. Only accessible by admins.
Delete user or employeer. Only accessible by admins.