This project was bootstrapped with Create React App.
npm i
or
npm i --legacy-peer-deps
yarn install
Create file .env with following content then copy to root folder sm-client
GENERATE_SOURCEMAP=false
PORT=3030
# APOLLO
REACT_APP_APOLLO_HTTP_ENDPOINT=http://localhost:4003/graphql
npm start
or
yarn start
npm run build or 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.