This will be a consist of two parts
- Backend project with Java using maven as the build tool
ReactJS
Frontend
- Assume that the project will be tested using IDE (IntelliJ IDEA)
- Build & Run
GovTechMiniProjectApplication
in./src/main/java/com/diunuge/govtech/GovTechMiniProjectApplication.java
- Install Node.js from https://nodejs.org/en
- Open a terminal in
./src/main/frontend
- run
"npm install"
to install dependencies - run
"npm start"
to run the frontend application - You can find the application at http://localhost:3000/
- Use
{"Diunuge", "Buddhika", "Wijesinghe"}
one of these usernames to join
- To run tests from the IDE or using maven
- You can find the Postman collection to test the API in
./docs
folder./docs/Event Location Decider.postman_collection.json
- Import the collection and run
- You can find the H2 console here to check the database http://localhost:8080/h2-console
- You can access Swagger API documentation here http://localhost:8080/swagger-ui/
- You can access Swagger JSON from here http://localhost:8080/v2/api-docs