🤿 Easy to use Dive Logbook for Scuba Divers.
Use here: https://divelog.vercel.app/
This is a T3 Stack project bootstrapped with create-t3-app
.
The main technologies used are:
PRs are welcome 😄
There's a TODO.md file with the pending tasks.
# Setup
npm i
# Run in dev mode
npm run dev
# Lint
npm run lint
# Build
npm run build
# Tests
npm run test
The database is hosted on PlanetScale. Here you can update the schema by creating a Deploy request from the dev
branch after you run npx prisma db push
:
- DB hosting: https://app.planetscale.com/mauri/dive-log
To view the contents of the db, use the Prisma Data Platform:
- Production db: https://cloud.prisma.io/mauriciabad/dive-log/production/databrowser
- Development db: https://cloud.prisma.io/mauriciabad/dive-log/development/databrowser
You can also run Prisma studio locally with the following command. It will load the db based on your DATABASE_URL
environment variable from the .env
file.
npx prisma studio
To connect to the database and authentication providers, you need a .env
file in the root. This file is private and the only way to get it is to ask someone that has it to send it to you, in this case, the maintainers of the project.
For authenication to work, at least one set of client ID and client secret needs to be set.
-
DISCORD_CLIENT_ID,
DISCORD_CLIENT_SECRET`. -
GOOGLE_CLIENT_ID
,GOOGLE_CLIENT_SECRET
. -
FACEBOOK_CLIENT_ID
,FACEBOOK_CLIENT_SECRET
. -
GITHUB_CLIENT_ID
,GITHUB_CLIENT_SECRET
. Maintainers:
We use Vercel as the backend server:
- Backend server: https://vercel.com/mauriciabad/dive-log