Skip to content

lipelix/weather-for-humans

Repository files navigation


weather-for-humans

Check what to wear. Now.
https://pocasi-pro-lidi.cz/

Report Bug · Request Feature

About The Project

There are many great weather apps which tells you every little detail about moisture, waves height and so on. But let's be honest, you don't care. Only thing you need is answer question "What should I wear ?" - this app brings answer for that.

(back to top)

Built and Deploy

This project is build with express on backend, vanilla javascript on frontend and is deployed on heroku dynos. It levarages usage of https://openweathermap.org/ API to get weather data and custom mapping of those conditions to clothes.

Node.js Heroku

(back to top)

Getting Started

You can run this project locally (even if it doesn't make much sense :).

Prequisities

  • openssl
  • npm (Node.js)

Installation

  1. Get a free API Key at https://openweathermap.org/api
  2. Clone the repo
    git clone https://github.com/lipelix/weather-for-humans.git
  3. Install NPM packages
    npm install
  4. Create .env file in root project folder
  5. Enter your API in .env file
    OPENWEATHER_API_KEY=<your api key from openweathermap>
    
  6. Generate key.pem and cert.pem with openssl tool (details https://nodejs.org/en/knowledge/HTTP/servers/how-to-create-a-HTTPS-server/)
  7. Run your app by npm run dev

(back to top)

Usage

This is very easy. Just open https://pocasi-pro-lidi.cz/ .


Showcase

(back to top)

Roadmap

  • Deploy project
  • Add Support for men clothes
  • Add Support for women clothes (this will be tought)
  • Use React for frontend
  • Multi-language Support
    • Czech
    • English

(back to top)

Contact

Libor Váchal - LinkedIn

Project Link: https://github.com/lipelix/weather-for-humans

(back to top)

Acknowledgments

Usefull links and another things worth to mention.

(back to top)