Skip to content

SamarjeetBanik/batch-of-2022-api

Repository files navigation

batch-of-2022-api

A live and hosted API, made up of Node.Js and MongoDB. This is a backend app, which provides every student's details of ITER batch of 2022, stored in DB. This app is powered by MongoDB Atlas Cloud Cluster service and is deployed under Heroku cloud hosting services.

View the live API, here

API Usage

As this is a RESTful API, it supports the basic four HTTP request methods that allows a developer, using this API, to fetch, add, update and remove content from DB.

The basic 4 HTTP request methods are:

Know more on API: What is an API?

In this project, the routes are:

  • GET All
    • https://batchof2022api.herokuapp.com/
  • GET (Particular User)
    • https://batchof2022api.herokuapp.com/get/:id
  • POST
    • https://batchof2022api.herokuapp.com/add/user/me
  • PUT
    • https://batchof2022api.herokuapp.com/update/user/:id
  • DELETE
    • https://batchof2022api.herokuapp.com/del/user/:id
  • SEARCH (Based on 'Name'): CASE-SENSITIVE
    • https://batchof2022api.herokuapp.com/search/:name
  • SEARCH (Based on 'Name'): CASE-INSENSITIVE
    • https://batchof2022api.herokuapp.com/search/any/:name

Project setup

  1. git clone https://github.com/SamarjeetBanik/batch-of-2022-api.git or you can simply download the whole project in a zip folder.
  2. If you have cloned repo through git or any other terminal, then Drag-and-drop the folder in your desired code editor or extract the files and folders from zip and open the project in a code editor of your choice.
  3. Run npm install through terminal, to install and bring all dependencies into your local project.

Compiles and hot-reloads for development

npm start

Acknowledgements

Hope, you liked this project. Don't forget to 🌟 the repo, if you liked it.

If you feel, anything can be better in this project, then you can just pull a request here or email me.🙂

Thank You!

About

A live API that holds the information of students from ITER batch of 2022.

Topics

Resources

License

Stars

Watchers

Forks