Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crazyhaller/nextjs-weather-assignment
https://github.com/crazyhaller/nextjs-weather-assignment
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/crazyhaller/nextjs-weather-assignment
- Owner: Crazyhaller
- Created: 2024-08-25T09:36:05.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-25T16:08:27.000Z (4 months ago)
- Last Synced: 2024-08-25T17:27:07.043Z (4 months ago)
- Language: TypeScript
- Homepage: https://nextjs-weather-assignment.vercel.app
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fullstack Assignment
This is a Next.js assignment that allows users to search localities and get their weather data from WeatherUnion API.
You can only view weather data of certain localities used in localitis.ts file which are sample data extracted from WeatherUnion API since I could'nt find any way to extract the locality_id of each locality being searched in the input of our application.## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Features](#features)
- [Localities](#localities)## Installation
1. Clone the repository:
```sh
git clone https://github.com/Crazyhaller/fullstack-assignment.git
```2. Navigate to the directory:
```sh
cd fullstack-assignment/frontend
```3. Install the dependencies:
```sh
npm install
```## Usage
1. Start the development server:
```sh
npm run dev
```2. Open your browser and navigate to `http://localhost:3000` to see the application in action.
## Features
- **Search Input** Allows users to search for a locality
- **Weather Card** Displays weather information of the searched locality## Localities
'Kalkaji'
'Tigaon'
'Saket'
'Sarita Vihar '
'Faridabad Sector 41-50'
'New Friends Colony '
'Sector 26 (Noida)'
'Greater Noida'
'Sector 28'
'Ghitorni'
'Rohini'
'Govindpuram '
'Nangloi'
'Munirka'
'Tollygunge'