Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/crazyhaller/nextjs-weather-assignment


https://github.com/crazyhaller/nextjs-weather-assignment

Last synced: about 2 months ago
JSON representation

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'