Skip to content

maumaigre/mau-itjuanahw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iTjuana HW

CRUD application for users with the following stack:

  • Kotlin (+ Ktor framework)

  • jasync-SQL (DB Driver)

  • Angular 11

  • Angular Material

  • AppEngine

  • Cloud Run (Containerization)

  • Secret Manager (for secure secrets/env vars)

  • Cloud SQL (Database server)

  • Docker containers

  • Docker-compose

Build Instructions

Make sure you have Git, Docker, Docker Compose installed and running

  1. Clone this git repository git clone https://github.com/maumaigre/mau-itjuanahw

  2. In the git repository, run this command to build and run all containers in the project. docker-compose up -d

  3. This will boot up three containers:

    • itjuana-db (MySQL DB) Local port: 3310 Docker port:3306
    • itjuana-client (Angular served via Node.js/nginx) Local port: 4200 Docker port: 4200
    • itjuana-backend (Kotlin + Ktor framework built via Gradle) Local port: 8081 Docker port: 8080
  4. You can open the front-end application on localhost:4200 or send API requests manually to the backend at localhost:8081