Install https://github.com/nvm-sh/nvm by following the instructions from the web site. Install the latest lts version by running:
nvm ls-remote --lts
Note the version and running the following command to install it:
nvm install v18.18.0
Install https://docs.docker.com/engine/install/ by following the instructions from the web site.
This is required tooling to for the API's local development. Install https://golang.org/doc/install by following the instructions from the web site.
This is preferred over npn / pnpm
as scripts depend on it.
Install https://yarnpkg.com/getting-started/install by following the instructions from the web site.
Create a .env
file in the web project's root, and add the following environment variables:
VITE_CLERK_PUBLISHABLE_KEY=<token>
VITE_API_BASE_URI=http://localhost:8080
Add API environment variables to the docker-compose.yml
file in the api project section
Run make dev
to start the development server.
make dev
will start the api, and the web server, and will also bootstrap a local PostgreSQL database.
Use conventional commits to commit code. This will allow for automatic versioning and changelog generation.
The system's infrastructure is configured in /infra
and is managed through AWS CloudFormation.
The entire system can be deployed to a CloudFormation stack by running make deploy
.
Access to AWS, and the correct permissions are required to deploy the stack.