Skip to content

ZeusWPI/wolk

Repository files navigation

Wolk

Webgebasseerd online locatie voor kiekjes

Development setup

Used golang libraries

  • Fiber
  • Viper
  • Sqlc

Used React libraries

Useful flows

Adding a new typed query (sqlc)

  1. Add your new query to db/queries/{target}.sql
  2. run sqlc generate
  3. Enjoy your statically typed query

Adding a migration

  1. make create-migration

Note

For nix users using the devshell replace make goose with goose -dir ./db/migrations postgres create my_migration_name sql

  1. Edit the newly made migration that can be found in the db/migrations folder
  2. Update the queries in the db/queries accordingly
  3. Run sqlc generate to generate the new table structs

Deployment

It is recommended to run the application in an docker container

It need at least the following additional resources:

  • Postgres Database
  • Redis

About

Webgebaseerde Online Locatie voor Kiekjes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published