Skip to content

kyawoo-23/L5DC_Computing_Project_SnackZone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snack Zone Project

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).

Live website

Project Structure

  • 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.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/snack-zone-project.git
  2. Navigate to the project root:

    cd snack-zone-project
  3. Install dependencies:

    npm install

    Before you begin, make sure you have the following installed on your machine:

    • Node.js (version 18 or later)
    • npm (Node.js package manager)
  4. 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

Releases

No releases published

Packages

No packages published

Languages