Git Product home page Git Product logo

liftango's Introduction

Liftango Full Stack Project

This is an example project for you to fill in that loosely resembles our tech-stack.

Development mode

In the development mode, we will have 2 servers running. The front end code will be served by the webpack dev server which helps with hot and live reloading. The server side Express code will be served by a node server using nodemon which helps in automatically restarting the server whenever server side code changes.

Production mode

In the production mode, we will have only 1 server running. All the client side code will be bundled into static files using webpack and it will be served by the Node.js/Express application.

Quick Start

# Requires node 14
nvm install 14 && nvm use

# Install dependencies
yarn

# Start development server
yarn dev

# Build for production
yarn build

# Start production server
yarn start

Documentation

Folder Structure

All the source code will be inside src directory. Inside src, there is client and server directory. All the frontend code (react, css, js and any other assets) will be in client directory. Backend Node.js/Express code will be in the server directory.

Requirements

Maximum Time Allocation

3 hours

Submission

  • Submit a github/bitbucket repository
  • Ensure that all the files have been run through prettier

Server

Define the models and relationships for a list of rides using Sequelize ORM. Ensure this data is seeded in seed.mjs using faker.js. Examples have been provided to get you started.

Once your relationships are defined and seeded; make the getTrips endpoint return all seeded trips and add a new endpoint for returning a single trip by it's ID.

Client

  • Do not install any additional packages
  • Display a list of buttons with each date that a trip is present.
  • Have a title that displays the selected date and the number of trips on that day.
  • Update the document title to display {{SELECTED_DATE}} ({{NUM_RIDES}})
  • When you click on one of the date buttons; only render the trips that fall on the selected day, on the map.
  • Ensure that the map is always bounded by the markers present on the map
  • Recreate the below map marker using styled-components. Ensure it is a different colour depending on if the marker is for the arrival or departure stop. Render the first character of the stop.type in the marker head.

marker

liftango's People

Contributors

wgotterer avatar

Watchers

 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.