https://crypto-exchanges-next.vercel.app/
Next.js projected featuring Server-side generation of static pages with incremental static regeneration. Data is provided by the publicly available CoinGecko API.
- NodeJS >= 14.x
First time use:
npm install
Start the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
Run unit tests:
npm run test
Run E2E Cypress tests:
npm run e2e
Repository has several quality gates setup in order to provide formatting consistency, best practices and code quality on the decent level.
Code pushed to non master branch: This triggers:
build_and_test
- GH job which will run unit tests, linting, code formatting checkspreview deployment
- Vercel preview deployment. Will post preview URL in the PR's messagee2e
- only ifpreview deployment
successfully deploys and runs the Cypress E2E tests against environment deployed by the previous job
Code pushed to master branch:
build_and_test
- GH job which will run unit tests, linting, code formatting checksproduction deployment
- Vercel production deploymente2e
- only ifpreview deployment
successfully deploys and runs the Cypress E2E tests against environment deployed by the previous job