A heat map project with React and Spring Boot
Requirement | Use |
---|---|
Node 12.x | React |
Yarn | Build react-heat |
Maven 3.6.x | Build heat-service |
Java 8.x | Run heat-service |
Docker | Run PostgreSQL |
- Heat
- dev ## Config to run in dev mode
- service ## Back-end Java/Spring
- web ## Front-end React
1° step - Start Docker image with postgres
🐳
docker-compose -f docker-compose.yml up -d
2° step - Start heat-service 💻
cd service && mvn clean install && mvnw spring-boot:run
3° step - Start react-heat 🌐
Add your Google Maps key in
web\.env
param nameREACT_APP_MAPS_API_KEY
cd web && yarn && yarn start
4° step - Download NGINX or use an existing on your machine, copy the dev/nginx/nginx.conf
file to conf
folder inside nginx and then start nginx.
Access application by http://localhost
In the dev
folder there is a sql file with 90 residences.
Run it, to visualize the map with several residences
- Tests to React
- Tests to Spring Java
- Fix form layout
- Fix home layout
- Sonarqube integration to see (coverage, bugs and vulnerabilities)
- Move nginx to docker
- Github actions to React
- Github actions to Spring
Made with ❤️ by Gaboso™ 2021