Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/miasmartypants/weatherapp2.0


https://github.com/miasmartypants/weatherapp2.0

Last synced: about 20 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Weather App

This weather app allows for instant display of the current weather just by providing the city. It uses WeathrAPI to connect to the weather databse and information

## Features

- Click heart to favor cities. They will be stored into the databse
- WeatherApi
- Search bar for entering in cities

## Tech Stack



html

html


CSS

CSS


JavaScript

JavaScript


postgreSQL

postgreSQL


Express

Express




React

React


Node

Node


Bootstrap

Bootstrap


Weather Api

Open Weather API

## Installation

1. Clone the repo:
```
git clone https://github.com/MiaSmartyPants/Pringle_Mingle
```
2. Take out the owner's git:
```
git init
```

3. Go to server folder
```
cd server
```

4. Install all NPM packages using this in the root directory:
```
npm install
```
5. Database setup:
- Inside your server folder, create an .env file with:
```
touch .env
```

- Inside your .env add:
```
postgres://localhost:5432/final_project
```
- Go Back to Terminal

- Run the following to restore the DB dump file that the project already contain:
```
psql -U postgres -f db.sql
```
6. Start the app by using in client and server folder:
```
npm start
```

## Testing

To run tests on the terminal:
* On client side run the following command:
```
npm test
```

## Future Development
- Allow for sign in feature
- Display five day weather forecast