SamIsTheFBI / dagashi

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dagashi - A Food Delivery Web App

Built with Nextjs, ShadcnUI & Clerk

iPhone 12 Pro-1706168520061 iPhone 12 Pro-1706168719014 iPhone 12 Pro-1706168693639 iPhone 12 Pro-1706168703685

Table of contents

Overview

Check the live deployment here.

Dependencies

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.

How to deploy

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, or pnpm) 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

About

https://dagashi.vercel.app

License:Creative Commons Attribution 4.0 International


Languages

Language:TypeScript 90.5%Language:JavaScript 4.9%Language:CSS 2.5%Language:Shell 2.1%