coursework_db

module
v0.0.0-...-c9e3aad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2023 License: GPL-3.0

README

My coursework project. This was intended to be a financial application

Tech stack:

  • Go
  • Chi router
  • Gorm
  • MySQL
  • HTMX
  • TailwindCSS

How to run?

In Docker
  1. Create .prod.env file in the root of the project
  2. Fill the .prod.env file with needed variables
  3. Make sure you have Docker & Docker compose installed
  4. Run make up
Partially Locally
  1. Create .env file in the root of the project
  2. Fill the .env file with needed variables
  3. Make sure you have Docker & Docker compose installed
  4. Run make dev to run the DB in the Docker
  5. Run make run to run the application locally
Fully locally
  1. Install MySQL locally
  2. Create needed DB, user etc.
  3. Fill the .env file with needed variables
  4. Run make run to run the application

Screenshots

image image image

Directories

Path Synopsis
pkg
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL