GitXplorerGitXplorer
r

Pizza-Man

public
155 stars
54 forks
0 issues

Commits

List of commits on branch master.
Unverified
fbba955958c5c3eaa144fee50266b3a8c0e0f913

chore(readme): added demo

rruppysuppy committed 4 years ago
Unverified
656baf05cfd60ed6142dd887094f427d2a0e9b61

fix(readme): small tweaks and fixes

rruppysuppy committed 4 years ago
Unverified
49ecf381adcaf32cdfe3be507f21a0c2dd839569

chore(screenshots): added screenshots of the project

rruppysuppy committed 4 years ago
Unverified
d884afe21cb69c02a2e7f0e07069f5af0f33e71f

feat(index.html): added meta data

rruppysuppy committed 4 years ago
Unverified
8c71ecdc2db3886b653585bb35cdeeed6eaa7735

refactor: clean up

rruppysuppy committed 4 years ago
Unverified
9f1f15594b2e651d6e7c4dcac0a9813e6076e0cd

feat(data): added exampleData.json

rruppysuppy committed 4 years ago

README

The README file for this repository.

Pizza Man Project

An E-Commerce website for ordering Pizza Online

Demo

NOTE: The features shown in the demo is not exhaustive. Only the core features are showcased in the demo.

Tools used

  1. React: To create the Single Page App
  2. React-Router: For Routing
  3. Redux: For State Management
  4. Firebase: As a DataBase

Firebase Setup

You need to create a firebase configeration file holding the firebase settings in the path /src/firebase/config.js. The required format is:

const firebaseConfig = {
	apiKey: "API-KEY",
	authDomain: "AUTH-DOMAIN.firebaseapp.com",
	databaseURL: "DATABASE-URL.firebaseio.com",
	projectId: "PROJECT-ID",
	storageBucket: "STORAGE-BUCKET.appspot.com",
	messagingSenderId: "MESSAGING-SENDER-ID",
	appId: "APP-ID",
	measurementId: "MEASUREMENT-ID",
};

export default firebaseConfig;

Data needs to be stored in the following format:

[
	{
		name: "CATEGORY NAME",
		items: [
			{
				desc: "PIZZA DESCRIPTION",
				id: "ID",
				img: "IMAGE LINK",
				name: "PIZZA NAME",
				price: 100, // PRICE
			},
		],
	},
];

An example data is given in /src/firebase/exampleData.json

How to Use

To use the project follow the steps given below:

  1. Install the necessary modules (npm install).
  2. Setup Firebase Project and configuration
  3. Use npm start to run the react app