Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

linkswien/app-backend

Repository files navigation

app-backend

Local development

Inspired by this tutorial

Prerequisites

  • install Docker desktop
  • install IntelliJ
  • install the Docker plugin in IntelliJ

Running the backend

  • open the project in IntelliJ
  • find the docker-compose.yml and open it
  • click on the two green arrows IntelliJ offers you
    Screenshot 2022-01-30 at 11 16 55
  • set the tasks backend:bootJar and docker build . -t app-backend to be run before starting docker compose Screenshot 2022-01-30 at 12 29 04
  • you are good to go, both db and backend should be running now. Visit localhost:5000 in you browser to verify it
  • you can stop the running services at any time in the Services tab of IntelliJ

You can also start the backend without IntelliJ. Run the following commands in its root directory:

  • ./gradlew bootJar
  • docker build . -t app-backend
  • docker-compose up -d

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published