https://github.com/aswinisandil/mongodb-mongoose
This is a simple backend application I built to learn and explore MongoDB and Mongoose using Node.js and Express.js. The application demonstrates the fundamentals of working with MongoDB — including CRUD operations, schema modeling, and database interaction — in a clean and structured REST API format.
https://github.com/aswinisandil/mongodb-mongoose
dotenv express mongodb mongoose mongoose-schema nodejs nodemon
Last synced: 2 months ago
JSON representation
This is a simple backend application I built to learn and explore MongoDB and Mongoose using Node.js and Express.js. The application demonstrates the fundamentals of working with MongoDB — including CRUD operations, schema modeling, and database interaction — in a clean and structured REST API format.
- Host: GitHub
- URL: https://github.com/aswinisandil/mongodb-mongoose
- Owner: Aswinisandil
- Created: 2025-06-06T10:14:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-06T10:19:12.000Z (about 1 year ago)
- Last Synced: 2025-06-06T11:26:08.310Z (about 1 year ago)
- Topics: dotenv, express, mongodb, mongoose, mongoose-schema, nodejs, nodemon
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
📘 **MongoDB Learning Project – RESTful API with Express & Mongoose**
This is a simple backend application I built to learn and explore MongoDB and Mongoose using Node.js and Express.js. The application demonstrates the fundamentals of working with MongoDB — including CRUD operations, schema modeling, and database interaction — in a clean and structured REST API format.
🛠️ **Tech Stack**
Node.js
Express.js
MongoDB
Mongoose
Nodemon (for auto-reloading during development)
🔍 **Features**
Full CRUD API for managing documents in MongoDB
Mongoose models and schemas for data validation and structure
Use of async/await and error handling for clean controller logic
RESTful routing with GET, POST, PUT, and DELETE endpoints
Integrated with MongoDB Atlas / local MongoDB for persistent storage
Environment configuration using .env for database credentials
Hot-reloading using Nodemon for a better development experience
📚**What I Learned**
How to connect Node.js to MongoDB using Mongoose
How to define and enforce data structure with schemas and models
How to build and test a REST API
Basics of MVCC behavior in MongoDB and document-level operations
How to structure a backend app for scalability and clarity