Skip to content

selugr/phone-shop

Repository files navigation

The Phone Shop

This project simulates a shop. It's written in react starting from Create React App.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Install dependencies

Once the project is cloned or downloaded to a local folder. Perform this command to install dependencies.

yarn install / npm install

Available Scripts

In the project directory, you can run:

yarn start / npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test / npm run test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build / npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn lint / npm run lint

Checks code to comply with the given rules in .eslintrc.js (for javascript files) and .stylelintrc.json (for css files). It's also preconfigured to fix all missmatchings.