Coder Social home page Coder Social logo

mgs31 / leafsmart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rachelpr/leafsmart

0.0 0.0 0.0 8.04 MB

A dashboard to show weather, event, and quality of life data for a searched city.

Shell 1.46% JavaScript 92.26% CSS 3.81% HTML 2.47%

leafsmart's Introduction

LeafSmart

LeafSmart is an app that lets user search for a city they plan on visiting. Upon searching, the main dashboard will show 3 widgets; for upcoming events, quality of life data, and weather for that city.

Users have the ability to add a particular city search to their favourites, as well as remove it.

The front of this project is built with React and Tailwind. The app makes requests to the Teleport API for city data, Ticketmaster API for event data, Weatherbit API for weather data, GeoNames API for city search data, and our own API that holds user information.

Screenshots

Welcome page

"Screenshot of welcome page"

Typing a city

"Screenshot of typing a city"

Searched city

"Screenshot of searched city"

Empty results

"Screenshot of empty results"

Favourites

"Screenshot of favourites"

Login pop-up

"Screenshot of login pop-up"

Registration pop-up

"Screenshot of registration pop-up"

About page

"Screenshot of about page"

Contact page

"Screenshot of contact page"

Dependencies

  • react
  • react-router-dom
  • react-scripts
  • axios
  • jwt
  • moment
  • react-icons
  • react-dom
  • react-ts-typewriter
  • react-select-async-paginate
  • react-number-format
  • tailwind

Setup

  1. Obtain API keys
  1. Update .env file with API keys

  2. Install dependencies with npm install.

Running Development Server

  1. In the project directory, you can run: npm start Open http://localhost:3002 to view it in your browser.

LeafSmart-back-end

Available Scripts

npm start

This script runs the server with nodemon

npm run db:reset

This script runs the contents of /db/schema and /db/seeds against the pg database -- either local, or if the server's been deployed to a URL, to that URL.

leafsmart's People

Contributors

b1u3too avatar mgs31 avatar rachelpr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.