Skip to content

iZarrios/jobs-api

Repository files navigation

What is this repository?

This is a jobs API using Express, MongoDB and NodeJS as well as other useful tools.

Getting Started

  • install all project dependencies with npm install
  • start the development server with npm start OR yarn start
  • you need to have a .env file with the following variables MONGO_URI,JWT_SECRET

Project Tree Structure

   ├── app.js  
   ├── package-lock.json  
   ├── package.json
   ├── Procfile
   ├── README.md
   ├── swagger.yaml
   ├── controllers
   │   ├── auth.js
   │   └── jobs.js
   ├── db
   │   └── connect.js
   ├── errors
   │   ├── bad-request.js
   │   ├── custom-api.js
   │   ├── index.js
   │   ├── not-found.js
   │   └── unauthenticated.js
   ├── middleware
   │   ├── authentication.js
   │   ├── error-handler.js
   │   └── not-found.js
   ├── models
   │   ├── Job.js
   │   └── User.js
   └── routes
       ├── auth.js
       └── jobs.js