Skip to content

Zigg/SoftEng1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Ordering System

Overview

Key Features

  • Feature 1: Register Feature
  • Feature 2: Login Feature
  • Feature 3: Email Verification Feature
  • Feature 4: Dynamic User Navbar
  • Feature 5: User Profile
  • Feature 6: Signout Feature
  • Feature 7: Admin Dashboard
  • Feature 8: Search Feature
  • Feature 9: Pagination Feature
  • Feature 10: Dynamic Navbar

Technologies Used

List of all the technologies, languages, frameworks, libraries etc. used in the project.

  • Language: Javascript
  • Framework: React.js, express.js
  • State Management: Redux
  • Database: Firebase
  • Authentication: Firebase Auth
  • UI: Tailwind CSS, Shadcn UI, Flowbite, LucideReact, React Icons, Material UI
  • Email-Service: Firebase Auth Email Service

Getting Started

Note the given installation videos has a few commands that do not work as expected make sure to follow the commands written here instead

Prerequisites

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

  • Node.js

Install yarn globally (globally or within your project)

Run this command
npm install --global yarn

Clone this repo

Note: You can put this into any directory you want


git clone https://github.com/Software-Engineering-Projects/SoftEng1.git

Create a new Firebase project

Create a new Webapp

Setup .env file for frontend folder

Upon registering your app you will be prompt with .env files for your firebase SDK

Copy those files into your .env file

Note your environment files will be different from mine so do not copy what is in the video

VITE_FIREBASE_API_KEY=
VITE_FIREBASE_AUTH_DOMAIN= 
VITE_FIREBASE_PROJECT_ID=
VITE_FIREBASE_STORAGE_BUCKET= 
VITE_FIREBASE_MESSAGING_SENDER_ID=
VITE_FIREBASE_APP_ID= 
VITE_BASE_URL=

Create Service Account Key File

cd into backend/functions
Create new file serviceAccountKey.json

Find your service account key

Go to the firebase console 
Inside project settings
Service accounts tab
Generate new private key
Copy contents and paste into newly created serviceAccountKey.json

Install Dependencies for the backend and frontend folders

yarn install

Install Firebase Tools

cd to backend/functions
npm install -g firebase-tools 
npm i

Setup backend development server

Login to the firebase CLI

firebase login

Run the backend server

npm run serve

Setup frontend development server

cd to frontend
yarn dev

Note: Occasionaly pull latest changes from main

git pull origin main

NOTE: Make sure you install firebase in the backend/functions directory along with its dependencies

Installation Video

  • Video 1: Installing and Setting Up
Installation.Video.1.Seting.Up.mp4
  • Video 2: Starting the backend server
Installation.Video.2.Starting.The.Backend.mp4
  • Video 3: Starting dev server
Installation.Video.3.Running.The.Dev.Server.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.9%
  • Other 1.1%