A modern web application that provides solar information for cities around the world, featuring an interactive 3D globe visualization.
- Interactive 3D globe visualization using Three.js
- City search with autocomplete
- Solar information display for selected cities
- User authentication system
- Responsive design
- Real-time data updates
- Docker and Docker Compose
- Node.js (for local frontend development)
- Java JDK (for local backend development)
- Clone the repository:
git clone https://github.com/CodecoolGlobal/solar-watch-MVP-java-TothKristof.git- Start the application using Docker Compose:
docker-compose up --build- Access the application:
- Frontend: http://localhost:5173
- Backend API: http://localhost:8081
cd Frontend/solarWatch
npm install
npm run devcd solar-watch
./mvnw spring-boot:runDB_USERNAME: PostgreSQL usernameDB_PASSWORD: PostgreSQL passwordDB_URL: Database connection URLSECRET_KEY: JWT secret keyEXPIRATION: JWT token expiration timePIC_API: API key for external servicesSPRING_JPA_HIBERNATE_DDL_AUTO: Database schema update modeSPRING_JPA_DATABASE_PLATFORM: Hibernate dialect
- Environment variables are configured in the Vite configuration