https://github.com/cfdefense/crud-api
Simple CRUD API Created With JS, NodeJS, Express, and MongoDB
https://github.com/cfdefense/crud-api
api express javascript mongodb mongoose nodejs nodemon restful-api
Last synced: 4 months ago
JSON representation
Simple CRUD API Created With JS, NodeJS, Express, and MongoDB
- Host: GitHub
- URL: https://github.com/cfdefense/crud-api
- Owner: CFdefense
- Created: 2024-03-24T22:09:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-30T17:54:18.000Z (almost 2 years ago)
- Last Synced: 2025-03-16T05:26:24.641Z (over 1 year ago)
- Topics: api, express, javascript, mongodb, mongoose, nodejs, nodemon, restful-api
- Language: JavaScript
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## CRUD (Create, Read, Update, and Delete.)
- This CRUD API is a simple implementation of a RESTful API.
- I Created This Using JS, NodeJS, Express, Nodemon, Mongoose, and MongoDB.
- Tested Using Insomnia and Postman
## Demo

## Purpose
I started this project to gain a stronger understanding of JavaScript and NodeJS to prepare for my IBM Joint Study Interview.
Additionally, I hoped to gain a more comprehensive understanding of backend development and APIs.
Finally, I looked to gain experience in using and manipulating a database.
## Tools Used
- Javascript - Programming language.
- NodeJS - Javascript server runtime environment.
- Express - NodeJS web application framework.
- Nodemon - NodeJS tool allowing for asynchronous express development.
- Mongoose - NodeJS ODM library for easy manipulation and reading of MongoDB database.
- MongoDB - Database used to hold our 'product' information.
- Insomnia - RESTful API Debugging/Testing Utility.
## Using JavaScript and NodeJS, I have created a simple Backend API that can serve the following functions.
1. C reate a new instance of 'product' which is initialized and declared into our MongoDB Database.
2. R ead existing instances of 'product' based on its product ID number from the Database.
3. U pdate existing instances of 'product' to replace the value(s) associated with the 'product'.
4. D elete existing instances of 'product' from the database based on its ID number.
## Future Project Goals.
1. Create a front-end product to push and pull from the database.
2. Add more features of querying the database