Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rishabhraj43/user-admin-management-system
https://github.com/rishabhraj43/user-admin-management-system
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rishabhraj43/user-admin-management-system
- Owner: RishabhRaj43
- Created: 2024-08-29T16:31:03.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-29T16:36:29.000Z (3 months ago)
- Last Synced: 2024-08-29T18:30:53.742Z (3 months ago)
- Language: JavaScript
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# User-Admin Management System
A web application for managing users and admins with features such as user authentication, role management, and a simple interface for admin tasks.
## Features
- User authentication (signup and login)
- Admin management of user accounts
- Role-based access control
- Responsive design
- RESTful API for backend operations## Technologies Used
- **Frontend:** React, Vite, Tailwind CSS
- **Backend:** Node.js, Express
- **Database:** MongoDB
- **Authentication:** JSON Web Tokens (JWT)
- **Package Manager:** npm## API Endpoints
### Admin Endpoints
- `POST /admin/signup`: Register a new admin.
- `POST /admin/login`: Admin login.
- `POST /admin/logout`: Admin logout.
- `PUT /admin/edit`: Edit admin details (requires admin authentication).
- `GET /admin/getallUser`: Retrieve a list of all users (requires admin authentication).
- `PUT /admin/editUser/:id`: Edit user details by user ID (requires admin authentication).
- `DELETE /admin/deleteUser/:id`: Delete a user by user ID (requires admin authentication).
- `PUT /admin/banUser/:id`: Ban a user by user ID (requires admin authentication).
- `PUT /admin/unbanUser/:id`: Unban a user by user ID (requires admin authentication).
- `POST /admin/like`: Like an alien (requires admin authentication).
- `GET /admin/likealiens`: Retrieve a list of liked aliens (requires admin authentication).### User Endpoints
- `POST /user/signup`: Register a new user.
- `POST /user/login`: User login.
- `POST /user/logout`: User logout.
- `PUT /user/edit`: Edit user details (requires user authentication, and the user must not be banned).-------------------------------------
---------------------------------------------
# _Happy Coding 🤖👾_