Skip to content

CSCE331-Fall2024/project-3-team-3c

Repository files navigation

CSCE 331 - Project 3 Abhi Tanner William Kane Ashwin

Link

https://project-3-team-3c.vercel.app/

Getting Started

  1. Clone the repository:
    git clone <repository-url>
  2. Install dependencies:
    • For the client:
      cd client
      npm install
    • For the backend:
      cd backend
      npm install
  3. Run the project:
    • Start the client:
      npm run dev
    • Start the backend:
      npm start

Backend Organization and Overview

project-3-team-3c/  
│  
├── backend/  
│   ├── __init__.py          # Initialize the backend package and create the app  
│   ├── connection.py        # Database connection logic  
│   ├── views/               # API endpoints (CRUD operations)  
│   │   ├── __init__.py  
│   │   ├── employees.py     # Employee-related endpoints  
│   │   ├── ingredients.py    # Ingredient-related endpoints  
│   │   └── ...  
│   ├── services/            # Business logic and complex operations (yet to implement)  
│   │   ├── __init__.py  
│   │   └── ...  
│   └── config/              # Configuration settings (creating environment variable, etc.)  
│       └── settings.py  
├── .env                     # Environment variables  
└── app.py                # Entry point to run the app  

Using the Backend (Note to Frontend Devs)

  1. The backend takes in JSON requests, and ouputs a JSON output.
  2. Address information for the endpoints.