https://github.com/tymefighter/user-management-app
https://github.com/tymefighter/user-management-app
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tymefighter/user-management-app
- Owner: tymefighter
- Created: 2024-02-11T07:18:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-17T13:27:50.000Z (over 1 year ago)
- Last Synced: 2025-01-16T07:14:50.728Z (6 months ago)
- Language: Java
- Size: 93.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# User Management App

A sample web application for managing userManager built using Java.
It exposes REST APIs using Java Servlets and a UI which is SSR rendered using JSP.Note: This application was implemented for learning purposes only.
## Features
### UI for user management
#### Adding a new user
https://github.com/tymefighter/user-management-app/assets/40702069/8928b324-09f7-4fd0-879c-f145a5bb70cd
#### Editing an existing user
https://github.com/tymefighter/user-management-app/assets/40702069/380f0607-6f01-4342-b0a5-85a0ad62b55b
### REST APIs for user data querying and mutation
#### Fetch users based on passed params:
```
GET /users?id=&name=&email=&username=
```
#### Create a user
```
POST /users{
"name": "Mock",
"username": "mock",
"email": "[email protected]",
"password": "MockPass"
}
```
#### Update a user:
```
PUT /users{
"name": "Another Mock",
"password": "MockPassword1"
}
```
## How to run
### Deploy locally
Run the following:
```
./gradlew tomcatRun
```### Run Tests
Run the following:
```
./gradlew test
```