griffobeid / weather-tweets

Map of real-time weather tweets using mapbox (uber/react-map-gl) and the MERN stack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather Tweets

System Requirements

MongoDB
Node

Running the project

Install Dependencies

yarn or npm install

Setup an application on twitter

To begin setup an application on twitter's developer portal. This requires a twitter account.

Set environment variables

This project uses dotenv so create a file .env and add the following environment variables.

GOOGLE_MAP_API_KEY=<insert google maps api key>
TWITTER_CONSUMER_KEY=<insert twitter consumer key>
TWITTER_CONSUMER_SECRET=<insert twitter consumer secret>
TWITTER_ACCESS_TOKEN_KEY=<insert twitter access token key>
TWITTER_ACCESS_TOKEN_SECRET=<insert twitter access token secret>

Run the project

yarn start or npm start

About

Map of real-time weather tweets using mapbox (uber/react-map-gl) and the MERN stack.

License:MIT License


Languages

Language:JavaScript 91.5%Language:HTML 4.9%Language:CSS 3.5%