Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/amirziyacode/springboot-web-todo-app

This App designed for add Tasks
https://github.com/amirziyacode/springboot-web-todo-app

java postgresql-database spring-boot todo-app

Last synced: 24 days ago
JSON representation

This App designed for add Tasks

Awesome Lists containing this project

README

        

![Mac-Terminal-app-icon](https://github.com/user-attachments/assets/c484806f-bc07-4cc4-b43d-7b5619cdade7)

[![GitHub stars](https://img.shields.io/github/stars/iampawan/FlutterExampleApps.svg?style=social&label=Star)](https://github.com/amirziyacode)
[![GitHub forks](https://img.shields.io/github/forks/iampawan/FlutterExampleApps.svg?style=social&label=Fork)](https://github.com/amirziyacode?tab=repositories)

## SpringBoot-Web-Todo-App
This Applicaiton includs:
- Uint Tests
- Integration Test
- Full CRUD Controller
- Jdbc DataBase

## Steps to Setup

**1. Clone the repository**

```bash
git clone https://github.com/amirziyacode/SpringBoot-Web-Todo-App.git
```

**2. Configure PostgreSQL**

First, create a database named `postgres_demo`. Then, open `src/main/resources/application.properties` file and change the spring datasource username and password as per your PostgreSQL installation.

**3. Run the app**

Type the following command from the root directory of the project to run it -

```bash
mvn spring-boot:run
```

Alternatively, you can package the application in the form of a JAR file and then run it like so -

```bash
mvn clean package
java -jar target/postgres-demo-0.0.1-SNAPSHOT.jar
```

## Tests
![IT](https://github.com/user-attachments/assets/190db404-95ea-4fd8-914a-0e372a5d3d69)
![Test](https://github.com/user-attachments/assets/d873e911-47b3-4b77-925d-7e4e38719934)

## How Api Works
![Api](https://github.com/user-attachments/assets/0b1506f9-ad1d-4c95-a789-9fdd8e1379a8)