Skip to content

mbarcina001/Kraken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kraken

Project in development

Sample of web architecture with Docker.

  • Spring Boot
  • Hibernate + MySQL
  • Angular 9
  • NGRX
  • Docker
  • Log4j2

Running the project

Prerequisites

Installation

  1. Clone the project.
  2. MySQL - Choose one.
    1. Import sql file from /mysql/sql.
    2. Use dockerfile from /mysql to deploy a container with the kraken database.
  3. Auth & API.
    1. Open both Java projects as Maven project with your favorite IDE.
    2. Add your database configuration to src/main/resources/application.properties
      1. A servlet is provided for db testing purposes at /src/main/java/com.mbarcina.testdb.testDbServlet.java
    3. Start both applications at /auth/src/main/java/io/mbarcina/kraken/auth/KrakenAuthApplication.java and /api/src/main/java/io.mbarcina.springmarket.SpringmarketApplication
  4. Client.
    1. Open /angular-client from a terminal.
    2. Type "npm i" command to install project dependencies.
    3. Run "npm run start" to deploy client.
    4. Go to http://localhost:4200 to see Kraken in your browser.

Logs

  • Both Auth & API projects use Log4j2 logging utilty.
  • Logs are saved at /src/main/resources/logs.
  • Log files are saved as 1 file for each day and zipped once the day they are saving has passed.

About

Working with Docker & Kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published