Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sabha-mushtaq/node-js
https://github.com/sabha-mushtaq/node-js
expressjs middleware mongodb nodejs restful-api
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sabha-mushtaq/node-js
- Owner: sabha-mushtaq
- Created: 2024-09-14T17:15:48.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T08:22:28.000Z (2 months ago)
- Last Synced: 2024-09-17T10:55:24.926Z (2 months ago)
- Topics: expressjs, middleware, mongodb, nodejs, restful-api
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
//index1.js :This project demonstrates my learning of Node.js and Express.js. It includes middleware logging, parsing form data, and handling GET and POST requests. JSON data is fetched, displayed in HTML, and updated dynamically using file operations with the fs module. Middleware is implemented for enhanced request handling and custom headers.
// index2.js : MongoDB and Express API
This project demonstrates how to connect MongoDB with Express.js to perform CRUD operations. Key features include:
Parsing JSON and URL-encoded data with middleware.
Defining a User schema using Mongoose.
Implementing routes to:
Create users (POST /post)
Fetch users (GET /fetchdata)
Update users (PATCH /patch/:id)
Delete users (DELETE /delete/:id)
This project helps me learn how to build a RESTful API using MongoDB and Express.//mvc: This project is a simple Express.js application that demonstrates the use of MVC (Model-View-Controller) architecture. It implements routing, middleware for request/response logging, and MongoDB for database connection
// ssr
This project is a simple Student Management System built with Node.js, Express.js, and MongoDB. One of the key features I learned during this project is Server-Side Rendering (SSR) using EJS. This allows the application to dynamically generate HTML pages on the server and serve them to the client, enhancing performance and SEO.
// statefull authentication
MySignup - Node.js User Signup Application
This project is a simple Node.js application that handles user signup with a connection to a MongoDB database. It uses Express.js for routing, EJS as the view engine, and cookie-parser to handle cookies.Features
User registration and authentication.
Stateful authentication using server-side sessions.
MongoDB integration for user data storage.
JSON and URL-encoded body parsing.
EJS for rendering dynamic HTML pages.
Cookies management using cookie-parser.