GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SamarjeetBanik/tech-content-api: A sample API project, made up of Node.Js and MongoDB Atlas. This is a full-fledged backend app, which helps in fetching, adding, updating and deleting content stored in DB into/from one's project.

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
Content.js
Content.js
 
 
ContentController.js
ContentController.js
 
 
LICENSE
LICENSE
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
app.js
app.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
server.js
server.js
 
 

Repository files navigation

tech-content-api

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

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:

  • GET
  • POST
  • PUT
  • DELETE

Know more on API: What is an API?

In this project, the routes are:

  • 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

Project setup

  1. git clone https://github.com/SamarjeetBanik/tech-content-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

  • Node.js
  • npm
  • Express
  • MongoDB Atlas
  • README.md Template
  • GitHub Emoji Cheat Sheet
  • Heroku: Cloud Application Platform

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 sample API project, made up of Node.Js and MongoDB Atlas. This is a full-fledged backend app, which helps in fetching, adding, updating and deleting content stored in DB into/from one's project.

techcontentapi.herokuapp.com/

Topics

apicloud-servicesexpressherokuheroku-deploymentjavascriptmongodb-atlasnodejssample-api-project

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.