Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.17 KB

README.md

File metadata and controls

55 lines (34 loc) · 1.17 KB

This project was bootstrapped with Create React App.
Run npm i create-react-app -g to install

Pizza project frontend

Frontend for pizza project. You should deploy it after deploying backend.

Demo video

Demo video

Getting Started

clone this repository:

$ git clone https://github.com/HuHguZ/pizza-project-frontend.git

Prerequisites

  • Node.js

Installing

$ npm install

Configure .env file. File structure:

PORT=3000
REACT_APP_SERVER_URL=http://192.168.100.3:5000

REACT_APP_SERVER_URL must consider the path to the server from the client.

Deployment

Run dev server:
$ npm start
create production build: $ npm run build
You may serve it with a static server: $ npm i -g serve $ serve -s build

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration