Skip to content

CodecoolGlobal/solar-watch-async-java-polobence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


SolarWatch Application

A full-stack application that provides sunrise and sunset times for cities worldwide. Built with Java Spring Boot backend and React frontend, SolarWatch helps you plan your day around natural light conditions in any location.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started

About The Project

Product Name Screen Shot

SolarWatch is a comprehensive application that provides accurate sunrise and sunset times for any location worldwide. Whether you're a photographer planning the perfect golden hour shot, a traveler organizing your day, or simply someone who wants to make the most of natural daylight, SolarWatch offers precise solar event information at your fingertips.

This project was an excellent opportunity to work with geolocation services, integrate with external APIs for astronomical data, and implement robust error handling for various edge cases. The application features a secure user authentication system, efficient data caching, and a responsive user interface built with modern web technologies.

(back to top)

Built With

Frontend

  • React
  • Vite
  • React Router

Backend

  • Spring Boot
  • Spring Data JPA
  • Java
  • PostgreSQL

DevOps

  • Docker
  • Docker Compose

(back to top)

Getting Started

To get a local copy of SolarWatch up and running, follow these simple steps.

Prerequisites

Before you begin, ensure you have the following installed on your system:

Installation

  1. Clone the repository

    git clone https://github.com/CodecoolGlobal/solar-watch-async-java-polobence.git
    cd solar-watch-async-java-polobence
  2. Set up environment variables

    • Navigate to the backend directory:
      cd backend/src/main/resources
    • Create a new file called application-secret.properties and add your API keys:
      api.openweathermap.key=your_openweathermap_api_key
      api.timeapi.key=your_timeapi_key
    • For production, set up these environment variables in your deployment environment
  3. Start the application

  4. Development Mode

    • For frontend development:
      cd frontend
      npm install
      npm run dev
    • For backend development, import the project into your favorite IDE and run the SolarWatchApplication class

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published