Code Monkey home page Code Monkey logo

jobs-api's Introduction

Jobs API

Welcome! ๐Ÿ‘‹

Test the API Here ๐Ÿ‘‹

Table of contents ๐Ÿ™‚

Overview ๐Ÿก

This API is built to manage career. This API helps people organize their job applications. You need to register or login to use this api.

Routes ๐Ÿ”ฅ

Register User

POST: https://s-jobs-api.herokuapp.com/api/v1/auth/register

{
  "name": "name",
  "email": "email",
  "password": "password"
}

Login User

POST: https://s-jobs-api.herokuapp.com/api/v1/auth/login

{
  "email": "email",
  "password": "password"
}

Post Job

POST: https://s-jobs-api.herokuapp.com/api/v1/jobs

{
  "company": "company",
  "position": "position"
}

Get All Jobs

GET: https://s-jobs-api.herokuapp.com/api/v1/jobs

{
  "jobs": [
    {
      "status": "Applied",
      "_id": "61d654faa0ee313eef273814",
      "company": "Shopify",
      "position": "backend dev",
      "createdBy": "61d65251e061113a43f54de0",
      "createdAt": "2022-01-06T02:33:30.744Z",
      "updatedAt": "2022-01-06T06:34:57.604Z",
      "__v": 0
    },
    {
      "status": "Applied",
      "_id": "61d68d51f077880004bff429",
      "company": "Google",
      "position": "Backend Dev",
      "createdBy": "61d65251e061113a43f54de0",
      "createdAt": "2022-01-06T06:33:53.167Z",
      "updatedAt": "2022-01-06T06:33:53.167Z",
      "__v": 0
    }
  ],
  "count": 2
}

Get Single Job

GET: https://s-jobs-api.herokuapp.com/api/v1/jobs/{:id}

Update Job

PATCH: https://s-jobs-api.herokuapp.com/api/v1/jobs/{:id}

{
  "company": "company",
  "position": "position"
}

Delete Job

DELETE: https://s-jobs-api.herokuapp.com/api/v1/jobs/{:id}

Built with ๐Ÿงฐ

  • Node JS
  • Express
  • Mongo DB
  • Mongoose
  • Json Web Token
  • Helmet
  • Swagger UI

Author โœจ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.