Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.73 KB

README.md

File metadata and controls

48 lines (38 loc) · 1.73 KB

The Carbonara App

The Carbonara app is an open-source project designed to demonstrate how various components can be combined to create a fully functional end-to-end solution, with both frontend and backend.

The imaginary use case for this app is a meal delivery service, where users can order meals and have them instantly delivered within a specific geographic area.

Important Notice: This project is provided without a license. As such, the use of this code—whether for commercial or non-commercial purposes—is strictly prohibited without explicit permission from the project owner. The code is shared solely for educational purposes and as a source of inspiration.

If you wish to use the code, please contact me to request permission.

Some articles about the Carbonara app can be found on my Medium account: https://medium.com/@kjell.lilliestolze.

Build and Push

Build docker image

Do not forget to use right tag

docker build -t netflixnetflix/carbonara-core:0.6 .

Push docker image do google cloud artifact registry

Update tag

docker tag netflixnetflix/carbonara-core:0.6 {artifact-registry-url}:0.6
docker push {artifact-registry-url}:0.6

Running locally

To run it locally, you also need to run a local MongoDB instance for example in a docker container.

Running on docker locally

  • Profile docker-dev is being used, to connect to db running in docker
  • Use the right tag
docker compose up
docker run -d -it -p 8080:8080 --name carbonara-core -e "SPRING_PROFILES_ACTIVE=staging" --add-host host.docker.internal:host-gateway netflixnetflix/carbonara-core:0.6

Running on local machine

docker compose up
  • Set active profile to dev
  • Start application via gui