Skip to content

TanHuy2k2/studentMM

Repository files navigation

🎓 Student Management System (Node.js)

A backend application for managing students and courses built with NodeJS, ExpressJS, and EJS template engine.


📌 Features

  • Student management (Create, Read, Update, Delete)
  • Course management
  • Server-side rendering with EJS
  • Input validation and error handling
  • Organized project structure

🛠 Tech Stack

  • NodeJS
  • ExpressJS
  • EJS
  • MySQL
  • Git
  • Postman

📁 Project Structure

├── controllers/ # Route handlers
├── middleware/ # Middleware (auth, validation)
├── models/ # Database models
├── public/ # Static resources
├── routers/ # API & view routes
├── utils/ # Helper utilities
├── views/ # EJS templates
├── app.js # Server startup
├── .env.example # Env config sample
└── README.md

⚙️ Installation

Clone the repository:

git clone https://github.com/TanHuy2k2/studentMM.git
cd studentMM
npm install

🔑 Environment Variables
Create a .env file in the root directory:
DB_HOST=localhost
DB_USER=root
DB_PASSWORD=yourpassword
DB_NAME=student_db
PORT=3000

▶️ Run the Project
npm start
Open browser:
http://localhost:3000

👨‍💻 Author
Nguyen Tan Huy
GitHub: https://github.com/TanHuy2k2
Email: tanhuyqn6789@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors