A backbone for your coding challenge.
- Backend service - a Java/Spring Boot service with a
/pingendpoint. Extend with your code. - Frontend app - a React app. Extend with your code.
- E2E test suites - a backend and a frontend Cypress test suites. Extend with your tests.
- Pipeline - a test Runner that executes the Cypress tests on push to a branch other than
master/main.
- Java 17
- Spring Boot 2
- SQLite 3
- Gradle 7
- React 17
- Typescript
- Cypress
- GitHub Actions
-
Make sure the required version of Java (17) is configured on your local env.
-
Make sure npm & node are configured on your local env. You can download those distributions for your platform here
-
Build your app.
npm install npm run build # both Java/Spring Boot backend and React frontend npm run build:backend # only Java/Spring Boot backend npm run build:frontend # only React frontend- Start your app.
npm install npm run start # both Java/Spring Boot backend and react frontend npm run start:backend # only Java/Spring Boot backend npm run start:frontend # only React frontendnpm run seed # this seeds the sqlite db after the backend has started- Run the Cypress tests.
npm run test # run project tests under `cypress/integration`Made by DevSkills.
Did you find this repo useful? Give us a shout on Twitter / LinkedIn.