Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deepashrisg/studentmanagement
A Node.js app to manage student data with secure authentication, MongoDB integration, and APIs for student operations.
https://github.com/deepashrisg/studentmanagement
cors express mongodb mongoose nodejs nodemon-express
Last synced: 11 days ago
JSON representation
A Node.js app to manage student data with secure authentication, MongoDB integration, and APIs for student operations.
- Host: GitHub
- URL: https://github.com/deepashrisg/studentmanagement
- Owner: DeepaShriSG
- Created: 2024-12-11T15:20:44.000Z (15 days ago)
- Default Branch: main
- Last Pushed: 2024-12-11T15:36:23.000Z (15 days ago)
- Last Synced: 2024-12-11T16:38:53.855Z (15 days ago)
- Topics: cors, express, mongodb, mongoose, nodejs, nodemon-express
- Language: JavaScript
- Homepage: https://studentmanagement-xhen.onrender.com
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Student Management System
A Node.js app to manage student data with secure authentication, MongoDB integration, and APIs for student operations.
## Features
- Manage student records.
- Secure authentication using JWT and bcryptjs.
- Cross-origin support via CORS.
- MongoDB database with Mongoose.
- Environment variables with dotenv.
- Auto-restarts in development using Nodemon.## Requirements
- [Node.js](https://nodejs.org/) (v14 or higher)
- [MongoDB](https://www.mongodb.com/)## Setup
1. Clone the repository and navigate to the folder:
```bash
git clone
cd
```
2. Install dependencies:
```bash
npm install
```
3. Add a `.env` file with:
```env
PORT=3000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
```## Usage
Start the server:
```bash
npm start
```
Or run in development mode:
```bash
npm run dev
```Server runs on `http://localhost:3000` by default.
## Dependencies
- **bcryptjs**: Password hashing.
- **cors**: Cross-origin support.
- **dotenv**: Loads `.env` variables.
- **express**: Web framework.
- **jsonwebtoken**: JWT management.
- **mongoose**: MongoDB modeling.
- **nodemon**: Development server restarts.## License
Licensed under the [ISC License](LICENSE).
For API testing, see the Postman collection: [Postman Link](https://planetary-crescent-492103.postman.co/workspace/Tasks~cfafac11-0028-4d75-bfd8-96da8b6fe325/collection/30449018-3c409133-86ac-4f06-a447-d7081b1fbeff?action=share&source=copy-link&creator=30449018).