Giter Site home page Giter Site logo

prct's Introduction

BCC Rides App

Proof of concept ride planner for club.

Installation

This app is built with NextJS and uses Next Auth, Prisma and a MySQL database (hosted on PlanetScale). because of the Next Auth dependency, Node 18 is not currently supported. Use nvm to install and use version 16.

git clone [email protected]:airburst/bcc.git

cd bcc && npm install

Add a .env file: Copy .env.example and populate values for your database and auth provider. The convenience script npm run connect will create a proxy to a PlanetScale db if you choose to host there.

Run this command to publish the Prisma schema to db:

npm run pushdb

And then launch in dev mode:

npm run dev

Making database schema changes

Schema changes cannot be pushed directly to production (main branch). Read more here.

  1. Make desired DDL changes to prisma/schema.prisma
  2. Connect to a non-production PlanetScale db instance:
yarn connect:dev
  1. Deploy changes to a non-production database:
yarn pushdb
  1. Once you are happy with your changes on your development branch, you can open a deploy request to deploy these to your production branch.

Making a copy of the app

See Customisation docs.

prct's People

Contributors

airburst avatar benjam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.