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