nishad5089 / ToDoAppAngular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running the Application

Using built in images

If you want to just run the application without building the images yourself, you can use the images that are already built and available on Docker Hub.

docker-compose -p todoapp -f docker-compose-hub.yaml up todo-app-frontend

Building the distributions and images from source

If you want to build the images yourself, you can use the following command to build the images and run the application.

docker-compose -p todoapp up build-todo-app-backend
docker-compose -p todoapp up build-todo-app-frontend

# wait for the build to finish
# then run the application

docker-compose -p todoapp up todo-app-backend
docker-compose -p todoapp up todo-app-frontend

Accessing the application

The frontend will be available at http://localhost:9081

The backend will be available at http://localhost:9080

Username Password

john@gmail.com

12345678

alice@gmail.com

12345678

mark@gmail.com

12345678

For Developers

If you want to run the databases using docker but applications from local environment

docker-compose -p todoapp up todoapp-db tokens-db

Running backend

Use IntelliJ to open the project, maven sync and run the project or

./mvnw spring-boot:run

Running frontend

npm i
npm start

About


Languages

Language:Java 38.5%Language:TypeScript 33.2%Language:Less 18.5%Language:HTML 9.1%Language:JavaScript 0.5%Language:Dockerfile 0.2%