Welcome to the Snack Zone project! This repository contains the source code for both the customer-facing application (client), the admin dashboard (admin), the central schema and models (schema-central), and the database SQL files (database).
- client: https://kko-cp-snack-zone.vercel.app/
- admin: https://kko-cp-snack-zone-admin.vercel.app/login
-
client: The client folder contains the project for the customer side of the Snack Zone application. It is built using Next.js.
-
admin: The admin folder contains the admin dashboard for managing the Snack Zone application. Also built using Next.js.
-
schema-central: This folder contains the central schema and models used by both the client and admin projects. It utilizes Prisma.
-
database: The database folder contains the exported SQL files for the Snack Zone application.
-
Clone the repository:
git clone https://github.com/your-username/snack-zone-project.git
-
Navigate to the project root:
cd snack-zone-project
-
Install dependencies:
npm install
Before you begin, make sure you have the following installed on your machine:
-
Start the development servers:
-
Admin Dashboard:
npm run startAdmin
-
Client Application:
npm run startClient
-
Prisma Studio (Schema Central):
npm run startStudio
-
All Together:
npm run start
Note: The
start
script will run all three projects simultaneously and logging might not works -