Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tymefighter/user-management-app
https://github.com/tymefighter/user-management-app
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tymefighter/user-management-app
- Owner: tymefighter
- Created: 2024-02-11T07:18:07.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-17T13:27:50.000Z (9 months ago)
- Last Synced: 2024-10-12T22:09:45.903Z (about 1 month 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
![run-tests](https://github.com/tymefighter/user-management-app/actions/workflows/run-tests.yml/badge.svg)
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
```