Skip to content

paingzinyemaung/user-management-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Management API

A simple RESTful API for user management built with Node.js, Express, and MongoDB.

🚀 Features

  • Create: Register a new user.
  • Read: Fetch all users or a specific user by ID.
  • Update: Update user details.
  • Delete: Remove a user.

🛠 Tech Stack

  • Node.js
  • Express.js
  • MongoDB & Mongoose

⚙️ How to run

  1. Run npm install to install dependencies.
  2. Create a .env file and add your MONGO_URI.
  3. Run npm start to start the server.

🧪 API Endpoints

Method Endpoint
POST /api/v1/users
GET /api/v1/users
GET /api/v1/users/:id
P‌ATCH /api/v1/users/:id
DELETE /api/v1/users/:id

About

A simple RESTful API for User Management built with Node.js, Express and MongoDB. Includes full CRUD operations.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors