base-web-service v0.1.2
Base-web-service
Base frontend for backoffice
Description
This base project contains the main layout, dependencies and configuration for the backoffice application, the rest of components and applications are micro frontend services that are located at the package.json file and they are integrated to work specify to this project
Micro-services (frontend)
Getting started
1. Install dependencies
Use yarn or npm install
2. Set .env files
Take a look at Example.env file
3. Start app (development mode)
yarn start or npm start
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.
Run test
Run cypress
With yarn
yarn run cypress open
With npm
npx cypress opennote: npx is included with npm > v5.2 or can be installed separately.
Note: you can run a specefic test with this commands:
With yarn
yarn run cypress run --spec cypress/path/to/spec
With npm
npx cypress run --spec cypress/path/to/spec
Build for production
use 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 for more information.