Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tymefighter/user-management-app


https://github.com/tymefighter/user-management-app

Last synced: 5 days ago
JSON representation

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=
```

Screenshot 2024-02-17 at 6 50 54 PM

#### Create a user

```
POST /users

{
"name": "Mock",
"username": "mock",
"email": "[email protected]",
"password": "MockPass"
}
```

Screenshot 2024-02-17 at 6 52 35 PM

#### Update a user:

```
PUT /users

{
"name": "Another Mock",
"password": "MockPassword1"
}
```

Screenshot 2024-02-17 at 6 53 58 PM

## How to run

### Deploy locally

Run the following:
```
./gradlew tomcatRun
```

### Run Tests

Run the following:
```
./gradlew test
```