goatsapp

command module
v0.0.0-...-2ed53ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 8 Imported by: 0

README

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)

Contact

Hirzi Nurfakhrian - hirzinurfakhrian@gmail.com

Project Link: https://github.com/hrz8/goatsapp

(back to top)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal
wa
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL