/pogoda24

Reimplementing old Pogoda 24/7 website.

Primary LanguageTypeScript

Pogoda24/7

Logo

Official website of Pogoda24/7 FB page.

Weather forecasts, warnings, articles and more to come in the future.

For contributors:

If you want to contribute, please reach me through my GitHub email or epogoda24@gmail.com.

Requirements: Java 1.8, Maven

The project consists of two main modules: frontend and backend (what a surprise). To build the whole project run mvn clean install in root directory.

The backend module is a simple Spring Boot project communicating with Firestore via Firebase SDK. Nothing special there and I don't think there is a reason to explain anything. To run the server, run mvn spring-boot:run in backend directory. Server will run on port 8080.

The frontend module uses React library, TypeScript library and Webpack for bundling. It is split into two parts: public and admin. These parts are separate bundle entries, with separate HTML files - all taken care by Webpack. To run webpack devServer run npm start in frontend directory. Application will start on port 3000. With that, you don't have to authenticate to admin pages.

Unfortunately, now there is no non-production database, so connection with db does not work without specific files. I hope to change it soon.