quanle1994 / frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Frontend Setup

Instructions to install dependencies and run frontend development environment.

Directory

.
├── create-react-app        # For installing dependencies, you can delete after install
└── frontend                # Actual development environment
     ├── other files...     # Stores App.js, components/, etc..
     └── (to be updated)

Install Create-React-App (only for dependencies)

Link: https://github.com/IS3106-T07/create-react-app

git clone https://github.com/IS3106-T07/create-react-app  
cd create-react-app  
npm install  

Install Frontend

Link: Current Page

cd ..
git clone https://github.com/IS3106-T07/frontend
cd frontend
npm install

Testing

npm test

Run

npm start

Running at http://localhost:3003 (and at specified IP network address, e.g. 192.168.1.40:3003)

FAQ

Frequently asked questions.

Q. I'm stuck at registry config, on install. How to proceed?

Set config manually.

npm config set registry="http://registry.npmjs.org"

Q. Where is the PWA Setup Guide?

See MANUAL.md.

About


Languages

Language:JavaScript 82.8%Language:HTML 12.9%Language:CSS 4.2%