~ a note-trader app created to help students all around the world. bootstrapped via create-t3-app
this setup requires Docker to be installed as it uses docker-compose to run PostgreSQL
.
create an .env
file and fill those in.
# Prisma
DATABASE_URL="postgresql://postgres:@localhost:5932/jazbahana"
PGPASSWORD="postgres"
# Next Auth
NEXTAUTH_SECRET=""
NEXTAUTH_URL="http://localhost:3000"
# Next Auth Google Provider
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
yarn # installs dependencies from package.json
yarn dx # boots up postgres, runs migration, seed file and finally next server.
^ note that you don't always need to run yarn dx
. After run once, you can simply start the server via yarn dev