As an assumption, all of these instructions assume that you're developing locally on MacOS or any of the more widely-used Linux distributions.
Before developing locally, install all required tooling and familiarize yourself with the commands in the Makefile.
- Run Docker.
- Start a local MySQL server.
a. Use
root
andpass
as the credentials, and create a database calledtest
. - In the db package, run
make migrate
. - Run
make redis
to start a local Redis server. - Run
make dev
to run the app locally.
Core Go version: Go 1.22
Node, for running Javascript tests locally: Node 20.x
I recommend using nvm to manage Node versions.
For hot reloading a development server: Air CLI
Containerization: Docker
SVG Loaders provided by SVG-Loaders