darrenmeehan / dive-log

🤿️ Dive Log book for Scuba Divers

Home Page:https://divelog.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vercel Website Stars

Dive Log

🤿 Easy to use Dive Logbook for Scuba Divers.

Use here: https://divelog.vercel.app/

Develop

This is a T3 Stack project bootstrapped with create-t3-app.

The main technologies used are:

Contributions

PRs are welcome 😄

There's a TODO.md file with the pending tasks.

Commands

# Setup
npm i

# Run in dev mode
npm run dev

# Lint
npm run lint

# Build
npm run build

# Tests
npm run test

DB

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:

To view the contents of the db, use the Prisma Data Platform:

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

Environment variables

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:

  • @mauriciabad

Backend server

We use Vercel as the backend server:

About

🤿️ Dive Log book for Scuba Divers

https://divelog.vercel.app/

License:MIT License


Languages

Language:TypeScript 98.8%Language:JavaScript 1.0%Language:CSS 0.1%Language:HTML 0.0%