Skip to content

Latest commit

 

History

126 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kiso

PostrgreSQL/Express.js/Node.js/React/Tailwind web app designed to be your new study buddy.

Running locally

The development server for the frontend (client) can be started with the following command:

    cd client
    npm install #(if new development dependancies need to be installed/updated)
    npm start

The development server for the backend (server) can be started with the following command:

    cd server
    npm install #(if new development dependancies need to be installed/updated)
    npm start

Database

The app uses a Postgres database hosted on supabase.com. Edits to the database schema can be made in /server/prisma/schema.prisma. Additional info on Primsa syntax can be found here.

Setup

Initialize a .env file in the server directory with the required values.

Before running the app for the first time, a prisma client must be generated. You can do so with the following command:

    cd server #(if not currently in server directory)
    npx prisma generate

General usage

If you need to run migrations, you can do so with the following command:

    cd server #(if not currently in server directory)
    npm run db:migrate

If you need to inspect the databse, you can do so with the following command:

    cd server #(if not currently in server directory)
    npm run db:studio

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages