Check the live deployment here.
This project is built with Nextjs Pages Router bootstrapped with Create T3 App. The beautiful frontend uses ShadcnUI + Tailwind and backend is held together by Prisma + Supabase & tRPC. Further dependencies can be checked from package.json
.
Important
This project is still a WIP. Deployment procedure may change in upcoming commits.
Even the packages!
Supabase integration in supabase
branch.
main
branch uses sqlite for database.
-
Clone the repository: First off, clone this repository by downloading the zip file from the above Code button. Or better yet, if you have Git installed in your system, run the following command in your terminal:
git clone https://github.com/SamIsTheFBI/dagashi
-
Install dependencies: Go to the directory of the code & run the following command.
npm install
If you have any other Node package manager (
yarn
,bun
, orpnpm
) do as required to install the packages as defined in package.json. -
Create an ENV file: Create a
.env
in the root directory and fill the values as given in .env.example# Prisma # https://www.prisma.io/docs/reference/database-reference/connection-urls#env DATABASE_URL="file:./db.sqlite" # Clerk Auth Provider NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY= CLERK_SECRET_KEY= NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/ NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
Now you're ready to run the app! 🚀
-
Start the project: Run the following commands:
npm run db:push npm run dev