Coder Social home page Coder Social logo

hitchr-backend's Introduction

"Hitchr" Client - The Creative Otters

Background

Hitchr is a full-stack assignment for the Hack Reactor software engineering immersive program.

This repo contains the Hitchr node server files for The Creative Otters, a team consisting of the following developers:

  • Randall Stanford - Product Manager & Software Engineer
  • Trevor Settles - Architecture Owner & Software Engineer
  • Sam Pool - UI Owner & Software Engineer
  • Cade Kreikemeier - Software Engineer
  • Yunfan Gao - Software Engineer

The frontend of this fullstack app can be found in a different repo. All details laid out in this repo are in regards to the node server specifically.

These five developers were given roughly 1.5 weeks to build out a fullstack web application from scratch according to a rough concept from a mock client.


The Concept

Hitchr is a fullstack web app that allows users to post drives they will be taking (i.e. a specific starting destination and ending destination) so that other users can search for rides they wish to take and find posted trips that match their search.

The ultimate goal of Hitchr is to reduce car traffic by allowing users to rideshare for long drives.


Primary Technologies

This project's client app was built using the following primary technologies

  • Express
    • a minimal and flexible Node.js web application framework
  • Passport
    • authentication middleware for Node.js
  • Jest & Supertest
    • Testing frameworks used for unit tests, integration tests, and end-to-end tests.

Installation

Steps for getting started as a developer on this repo:

  1. Clone this repo onto your local machine:
    • git clone https://github.com/The-Creative-Beavers/hitchr-backend.git
  2. cd into the repo's root directory
  3. Install the project's depencies:
    • npm install
  4. Start developing!

Provided Scripts

  • npm run start
    • runs the node server in production mode - does not watch for file changes.
  • npm run watch
    • starts a node server on localhost - by default on localhost:5000 - then watches for changes and restarts the server with updated content on each file change.
  • npm run test
    • runs the app's full test suite via Jest, automatically running all files with a .test.jsx or test.js file extension.
    • NOTE: This repo's GitHub default branch will not merge any updates that cause the included tests to fail.
  • npm run lint
    • runs eslint on the full repo to check for syntax errors of code-style violations. This repo ueses the AirBnB Style Guide
    • NOTE: This repo's GitHub default branch will not merge any updates that do not pass the linter.
  • npm run lint-fix
    • runs eslint on the full repo to check for syntax errors of code-style violations. This repo ueses the AirBnB Style Guide
    • NOTE: This repo's GitHub default branch will not merge any updates that do not pass the linter.

Project Structure

  • database/

    • files related to the creation of a PostgreSQL database.
  • src/

    • files related to the API server
      • controllers/
        • STUFF HERE
      • db/
        • STUFF HERE
      • dependencies/
        • STUFF HERE
      • routes/
        • STUFF HERE

hitchr-backend's People

Contributors

cade-kreikemeier avatar lrdndy avatar mrsampool avatar randallwstanford avatar roboteng 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.