This repository contains the monolithic Golang backend to ACM's season of code platform.
1.Clone the repository
git clone https://github.com/Infinite-Sum-Games/pulse
# or
gh repo clone Infinite-Sum-Games/pulse- Fill out the
environment variablesand rename the file as.env. Run migrations as:
# Install the CLI tool goose or run it manually
goose up- Generate all the database helper functions by running:
make sql
# or
sqlc generate- Seed your database for development by running:
make seed- For development you can get live-reloading features by using:
air- For building the project and running use:
make runFurther instructions can be found within the
Makefile. To provision a PostgreSQL database, you can either use Neon or rundocker compose. A configuration file has been provided in the repository.
- Gin-Gonic framework - WebServer
- PostgreSQL - Database (primary)
- Zerolog - Logger
- Air - Live Reload Go apps
- Redis - Database (cache)