Skip to content

Example project for Spring Boot and Spring Web MVC

Notifications You must be signed in to change notification settings

Well5a/todolist

Repository files navigation

todolist

Example project for Spring Boot and Spring Web MVC.

Simple todolist application with a PostgreSQL database.

Build the app

./gradlew clean build

App usage (mappings)

  • localhost:5555/hello for the hello world example found in the Spring Quickstart Guide
  • localhost:5555/ui for list of todos
  • curl -X POST localhost:5555/task to add a task to the list
  • curl -X DELETE localhost:5555/id to delete a task from the list

Start the app with Docker-Compose

Run docker-compose up in root directory to start the app.

This will automatically pull the todolist and postgres images from Dockerhub, you can find the todolist app here. You can also get the image...

  • locally: Build the app, then the image with docker build -t todolist . in project root directory
  • or by pulling it manually from Dockerhub: docker pull well5a/todolist

About

Example project for Spring Boot and Spring Web MVC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published