Giter Club home page Giter Club logo

city-explorer's Introduction

city-explorer

Author: Sean Murray Version: 1.5.5

Overview

This will be a simple API to serve information for the City Explorer Front end.

Getting Started

Step 1:

Once you have cloned the repo in the command line run:

npm i

Step 2:

Create a local .env file and insert the following:

  • openport should be a number for an open port on your machine.
PORT=<openport>

Step 3:

To start the server run the following in the terminal:

npm start

Architecture

This API is designed to handle GET requests on /location and /weather routes to serve data to a front end.

Libraries Used:

  • Express
  • dotenv
  • cors
  • superagent
  • pg

Change Log

  • 06-08-2020 1531 - Application now has functional GET route for location.

  • 06-08-2020 1615 Application now has function Get route for weather.

  • 06-09-2020 1530 Application now uses API calls to query search data, and GET route for trails.

  • 06-10-2020 1640 Application now uses SQL to store location data for faster load times.

  • 06-11-2020 2110 Application now has yelp and movie routes, all routes are individual modules.

Credits and Collaborations

Time Estimations:

Number and name of feature: Location

Estimate of time needed to complete: 30min

Start time: 1500

Finish time: 1530

Actual time needed to complete: 30min

Number and name of feature: Weather

Estimate of time needed to complete: 30min

Start time: 1545

Finish time: 1600

Actual time needed to complete: 15min

Number and name of feature: Trails

Estimate of time needed to complete: 30min

Start time: 1430

Finish time: 1500

Actual time needed to complete: 30min

Number and name of feature: Superagent + API

Estimate of time needed to complete: 30min

Start time: 1445

Finish time: 1515

Actual time needed to complete: 30min

Number and name of feature: SQL

Estimate of time needed to complete: 1:30min

Start time: 1400

Finish time: 1610

Actual time needed to complete: 2:10min

Number and name of feature: Yelp

Estimate of time needed to complete: 45min

Start time: 1500

Finish time: 1610

Actual time needed to complete: 1:10min

Number and name of feature: Movies

Estimate of time needed to complete: 30min

Start time: 1610

Finish time: 1625

Actual time needed to complete: 25min

Number and name of feature: Refactor

Estimate of time needed to complete: 1:30min

Start time: 2000

Finish time: 2110

Actual time needed to complete: 1:10min

Whiteboards for logic:

Day 1

Day 1

Day 2

Day 2

Day 3

Day 3

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.