Skip to content

nassibb/flexday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Flexday Dashboard

This was scaffolded using Create T3 App. Key pieces include:

  • NextJS
  • TailwindCSS
  • Typescript
  • tRPC
  • Drizzle ORM

Setup

Use bun as an alternative to npm, because it installs dependencies much faster.

Create a .env file from the .env.template

cp .env.template .env

Get the google client id and secret from Discord and add them to the .env file. You should be able to sign in with your berkeley gmail.

Install docker and make sure you can run docker commands in your terminal.

docker -v

Install the dependencies

bun install

Run the database setup script

./start-database.sh

Let me know if you have issues on windows, but is should for sure work on mac. I also give more info about what this script is doing here.

Push the database schema to the database

bun db:push

Run the development server

bun dev

Try signing in with your berkeley gmail. Then inspect the contents of the database

bun db:studio

and make sure a user was created.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published