Snowflake is a project created with Next.js and Vercel technologies that gives us information about the weather conditions of Berlin, Tokyo and London.
This project created with:
- ReactJS
- NextJS
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
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'
- [This project's design] (https://dribbble.com/shots/3987420-Weathly-Weather-App-UI)
GET /api/history
Parameter | Type | Description |
---|---|---|
q |
city |
Required. Selected city |
dt |
string |
Required. First date |
end_dt |
string |
Required. Last date |
GET /api/current
Parameter | Type | Description |
---|---|---|
q |
city |
Required. Selected city |
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.