A sample API project, made up of Node.Js and MongoDB. This is a backend app, which provides technical content, stored in DB. Anyone, with the API, can fetch, add, update and delete content to their project. This app is powered by MongoDB Atlas Cloud Cluster service and is deployed under Heroku cloud hosting services.
View the live API, here
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.
Know more on API: What is an API?
- GET All
https://techcontentapi.herokuapp.com/
- GET (Particular Content)
https://techcontentapi.herokuapp.com/get/:id
- POST
https://techcontentapi.herokuapp.com/create/content
- PUT
https://techcontentapi.herokuapp.com/update/:id
- DELETE
https://techcontentapi.herokuapp.com/del/:id
- SEARCH (Based on 'Author'): CASE-SENSITIVE
https://techcontentapi.herokuapp.com/search/:author
- SEARCH (Based on 'Author'): CASE-INSENSITIVE
https://techcontentapi.herokuapp.com/search/any/:author
git clone https://github.com/SamarjeetBanik/tech-content-api.git
or you can simply download the whole project in a zip folder.- If you have cloned repo through git or any other terminal, then
Drag-and-drop the folder in your desired code editor
orextract the files and folders from zip and open the project in a code editor of your choice
. - Run
npm install
through terminal, to install and bring all dependencies into your local project.
npm start
- Node.js
- npm
- Express
- MongoDB Atlas
- README.md Template
- GitHub Emoji Cheat Sheet
- Heroku: Cloud Application Platform
If you feel, anything can be better in this project, then you can just pull a request here or email me.🙂