Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.38 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.38 KB

Sriwijaya Exhibition Backend

A web-based competition registration platform at the Sriwijaya Exhibition with a golang backend.

How to Run

  1. Install the latest stable version of Go
  2. Install the latest stable version of PostgresSQL
  3. Set environment variable by using Migrate
  4. Set environment variable or install latest stable version of MakeFile
  5. Rename and configure .env.example to .env
  6. Download all dependecies by using this command
$ make tidy
  1. Migrate db by using this command. Make sure all variables in .env are matching with your Postgress credentials
$ make migrate-up
  1. If you want to enable production-mode, add export GIN_MODE=release
  2. Start server with the following command :
$ go run cmd/server/main.go

Feature Documentation

This is a documentation of how each feature works using UML with PlantUML. You can use the PlantUML extension on VSCode, Jetbrains, or the official website.

Account Register

Login

Account Login

Login

Account Forgot Password

Login

Competition Register

Login