A backbone for your coding challenge.
- Backend service - a Java/Spring Boot service with a
/ping
endpoint. Extend with your code. - Frontend app - a React/TS app. Extend with your code.
- E2E test suites - a backend and a frontend Cypress test suites. Extend with your tests.
- Java 17
- Spring Boot 2
- SQLite 3
- Gradle 7
- React
- Typescript
- Vite
- 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 frontend
- Run the Cypress tests.
npm run test # run project tests under `cypress/integration`
Authored by Alva Labs.