https://github.com/hardyyb2/shopping-cart
https://github.com/hardyyb2/shopping-cart
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/hardyyb2/shopping-cart
- Owner: hardyyb2
- Created: 2021-02-06T04:38:40.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-09T06:10:26.000Z (over 5 years ago)
- Last Synced: 2025-01-09T10:18:28.782Z (over 1 year ago)
- Language: TypeScript
- Size: 638 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## DETAILS
### Website :
[Live (https://shoppingcarthardik.netlify.app/)](https://shoppingcarthardik.netlify.app/)
[Github Repo (https://github.com/hardyyb2/shopping-cart)](https://github.com/hardyyb2/shopping-cart)
## Instructions to run code (from root) :
### Method 1
- Install dependencies using npm or yarn with commands
- npm install OR yarn
- Once installed, run using
- npm start OR yarn start
### Method 2
- build folder is included in .zip file
- add serve globally to your system using
- yarn add global serve OR npm install -g serve
- serve using
- serve -s build
- If no build folder is present, build using command
- npm run build OR yarn build
- Serve with serve OR run start command
### Read README.md in each directory for more details
## Available Scripts
In the project directory, you can run:
### `yarn start`
Runs the app in the development mode.\
Open [http://localhost:3000](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 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](https://facebook.github.io/create-react-app/docs/deployment) for more information.