Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.
/ Heat Public archive

Heat map in React.js and Java/Spring Boot

Notifications You must be signed in to change notification settings

Gaboso/Heat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heat 🔥

A heat map project with React and Spring Boot

screenshot

Requirements 🌎

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

Folder Structure

- Heat
    - dev      ## Config to run in dev mode
    - service  ## Back-end Java/Spring
    - web      ## Front-end React 

How to run 🏃

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 name REACT_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

Extra

In the dev folder there is a sql file with 90 residences.

Run it, to visualize the map with several residences

To do

  • 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