goatsapp
Getting started
Once you clone the repository, you need to make sure you have already installed the necessary tools and set up your project by following these simple steps below:
Prerequisites
Tools needed:
Env var
Adjust env variables with your own configuration:
cp .env.example .env
DB Setup
Run database migrations with following command:
# in the root dir
bun run db:migrate:apply
Build
Build the web assets with following command:
# change directory to web app folder
cd web/app
bun install --frozen-lockfile
bun run build
Build server templates with following command:
# change directory to root dir of project
templ generate
(back to top)
Usage
# ...
(back to top)
Development
# adding new migration...
bun run db:migrate:gen
# update sqlc.yaml on schema field
sqlc generate
(back to top)
License
This project is licensed under the MIT License.
(back to top)
Hirzi Nurfakhrian - hirzinurfakhrian@gmail.com
Project Link: https://github.com/hrz8/goatsapp
(back to top)