Skip to content

bircankut/snowflake

Repository files navigation

Snowflake

Snowflake is a project created with Next.js and Vercel technologies that gives us information about the weather conditions of Berlin, Tokyo and London.

screenshot screenshot2 screenshot3

Tech Stack

This project created with:

  • ReactJS
  • NextJS

Run Locally

Clone the project

git clone https://github.com/bircankut/snowflake

Go to the project directory

cd snowflake

Install dependencies

yarn install

Start the server

yarn dev

Environment Variables

To run this project, you will need to add the following environment variables to your .env.local file

NEXT_PUBLIC_WEATHER_API_KEY='your enviroment variable goes here'

Authors

Acknowledgements

API Reference

Get current week's weather

GET /api/history
Parameter Type Description
q city Required. Selected city
dt string Required. First date
end_dt string Required. Last date

Get current day's weather

GET /api/current
Parameter Type Description
q city Required. Selected city

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.