Skip to content

devSuatt/todoApp-springboot-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo app project using Spring Boot in backend

This project provides to CRUD operations for users and users' tasks.

  • Java 11
  • Spring Boot
  • Spring Data
  • H2 Database
  • Documented on Swagger
  • Maven
  • Dockerized and published on Docker Hub
  • Unit tests using JUnit and Mockito

There are 5 endpoints in user-controller:

Ekran görüntüsü 2022-01-28 122805

There are 5 endpoints in task-controller:

Ekran görüntüsü 2022-01-28 122827

Build Application

To install this application, run the following commands:

git clone https://github.com/devSuatt/todoApp-fullStack.git

Test Application

You can run unit tests in src/test/java/com/devsuatt/todoApp

Run Application with dependencies on Maven

  • For maven usage
$ mvn clean install
$ mvn spring-boot:run

PORT: 8080

Swagger UI will be run on this url

http://localhost:${PORT}/swagger-ui.html

Docker Hub

You can pull this application from Docker Hub

Link: https://hub.docker.com/r/devsuatt16/todoapp

docker pull devsuatt16/todoapp

Docker Build

docker build --compress --force-rm -t {Docker_Hub_Username}/{Docker_Hub_RepoName}:{Tag} .

Example: docker build . -t todoapp:1.0

Run Docker image locally on a container with a name for the container.

docker run --name todoapp -d -p 9090:8080 todoapp:1.0

About

A todo app project using Spring Boot in backend

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published