Skip to content

senolatac/faster-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

faster-code Spring Boot, Angular 7, MySQL, Docker, Hibernate, Liquibase

The application structure is as follows.

  • faster-code-server - Microservice implemented using Spring boot. More info
  • faster-code-client - A NodeJs application implemented using Angular 7. This consumes services hosted by faster-code-server. More info
  • docker-compose.yml - Docker compose file to run faster-code-server and faster-code-client in container.

Build

1) Build faster-code-server

$ cd faster-code-server
$ gradlew clean build

2) Build Docker images and run it in containers using docker-compose from parent directory.

This also create container for Mysql and run it.

$ docker-compose up

NOTE: To run without docker container follow steps in faster-code-server project.

3) Build and run faster-code-client application (Important: docker-compose up will handle everything so this is not necessary part.)

$ cd faster-code-client
$ docker build -t faster-code-client .
$ docker run -d -p 4200:80 faster-code-client

Access application using following URL

http://localhost:4200