Jobbyfie is basically the job center where they can provides us job as the job seeker wanted and also company will created the job and the job seeker will apply that job. While making, I follow the MVC pattern with the error handling. To make this REST API using nodejs, expressjs and mongoDB [BACKEND SERVER]
Job Provider or Company have to create a account and have access to add, update and delete the job. Job seeker doesn't need to create their account. Job seeker will view that job whose are created by Job Provider or Company.
Before clone the repo, you must have node.js on your device.
Fork this repo
$ git clone https://github.com/<username_github>/jobbyfie_restapi.git
$ npm install
PORT = 5000
MONGO_URL = mongodb-url
JWT_SECRET = give_secret_jwt
JWT_EXPIRE= give_time_expire
$ node server.js
GET /api/v1/jobs
GET /api/v1/jobs/:id
GET /api/v1/jobsview
GET /api/v1/jobsview?jobname=flutter
PUT /api/v1/jobs/:id
DELETE /api/v1/jobs/:id
POST /api/v1/auth/register
POST /api/v1/auth/login
git rm -r --cached node_modules
git commit -am "node_modules be gone!"
git push origin master