A simple user management system built with Node.js, Express, MongoDB, and Axios.
- Add new users with name, email, and password.
- View a list of existing users.
- Update user information.
- Delete users from the system.
-
Clone the repository:
git clone https://github.com/aashish-shukla/INT222_UMS
-
Install dependencies:
cd INT222_UMS npm init npm install
-
Set up MongoDB:
- Create a MongoDB Atlas account or set up a local MongoDB instance.
- Update the MongoDB connection string in
index.js
to connect to your database.
-
Run the application:
npm start
Once the application is running, you can access the user management system through your web browser or API client. The frontend interface allows you to add, view, update, and delete users.
The following endpoints are available:
GET /users
: Retrieve a list of all users.POST /users
: Add a new user.PUT /users/:id
: Update an existing user by ID.DELETE /users/:id
: Delete a user by ID.