Skip to content

tuxsudo/sidegig

Repository files navigation

Side Gig

A template for creating new fullstack, web-based products. Uses the following tools & tech:

Getting started

Dockerized dependencies & docker testing is managed via make, please see the ./Makefile for a list and explanation of all commands.

Initialize local development deps

make init

Resolve any issues reported

Initialize docker environment

# setup & run infra dependencies (eg: postgres)
make docker.infra

# run NextJS in docker mode (prod testing)
make docker.web

Initialize the development environment

# make sure dockerized postgres is running
make docker.infra

# make sure database is in sync with migrations
make local.migrations.commit

# start nextjs in dev mode
make local.web

Creating Migrations

To create new database models:

  1. Edit the prisma/schema.prisma file.
  2. Run make local.migrations.stage local.migrations.commit
  3. Restart development server regenerate codegen.

About

Project scaffolding for fast sidegigs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published