Synthetic Monitoring by Hyperjump
- Installation
- Development
- Storybook
- Integration test
- Building for production
- Install the dependencies
Symon requires the following dependencies:
After cloning this repo, install the dependencies:
npm install
Copy the environment variables configuration:
cp .env.example .env
Run database (Prisma) migration:
npx prisma migrate dev --preview-feature
npx prisma generate
Run database (Prisma) seed:
npm run seed
Run the application:
npm start
and open localhost:4000 with a web browser.
To format the code according to the style guide:
npm run format-code
Storybook helps you document components for reuse and automatically visually test your components to prevent bugs.
To start Storybook locally:
npm run storybook
To run integration test locally, first open cypress:
npm run cypress:open
then in Tests tab, click the file you want to test
run npm run client:build
. The client bundle will be available in ./dist
directory.
run npm run server:build
.
In case you don't have npx:
npm i -g npx