UserTrack is a simple CRUD (Create, Read, Update, Delete) application built with Node.js, Express, MongoDB, and EJS templating.
It allows you to manage users with their name, email, and profile image.
- π Create new users with name, email, and profile image.
- π View all users in a clean, responsive interface (TailwindCSS).
- βοΈ Edit existing user details.
- ποΈ Delete users.
- β Prevents creating users with empty fields.
- Backend: Node.js, Express.js
- Frontend: EJS, TailwindCSS
- Database: MongoDB (Mongoose)
- Templating Engine: EJS
UserTrack/ βββ models/ β βββ user.js βββ public/ β βββ stylesheets/ β βββ style.css βββ views/ β βββ index.ejs β βββ read.ejs β βββ create.ejs β βββ edit.ejs βββ app.js βββ package.json
- Clone the repository
git clone https://github.com/Akash972004/UserTrack.git cd UserTrack
npm install
Make sure MongoDB is running locally or use MongoDB Atlas. Create a .env file (optional) and set your MongoDB URI: MONGO_URI=mongodb://localhost:27017/usertrack
node app.js
nodemon app.js