Skip to content

Akash972004/UserTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UserTrack

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.


🚀 Features

  • 📌 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.

🛠️ Tech Stack

  • Backend: Node.js, Express.js
  • Frontend: EJS, TailwindCSS
  • Database: MongoDB (Mongoose)
  • Templating Engine: EJS

📂 Project Structure

UserTrack/ ├── models/ │ └── user.js ├── public/ │ └── stylesheets/ │ └── style.css ├── views/ │ ├── index.ejs │ ├── read.ejs │ ├── create.ejs │ └── edit.ejs ├── app.js └── package.json


⚙️ Installation & Setup

  1. Clone the repository
    git clone https://github.com/Akash972004/UserTrack.git
    cd UserTrack

install dependencies

npm install

Setup MongoDB

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

Run the application

node app.js

nodemon app.js

Open in browser

http://localhost:3000

📸 Screenshots

Home Page

image

User List

image

Edit Page

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors