/Front-End-Ride-My-Way

This is a Car Pooling Web Application that connects users who are willing to offer a ride to other users who are going to the same destination.

Primary LanguageJavaScript

Front-End-Ride-My-Way

Build Status Coverage Status Maintainability Test Coverage

This is a Car Pooling Web Application that connects users who are willing to offer a ride to other users who are going to the same destination.

Ride My Way API Documentation

Technologies Used

  • Front-end: Html and css
  • Backend: Node/Express
  • Postgres
  • Libaries: Es6, Babel-CLI, eslint, Mocha/Chai, express

Features

  • Users can create an account and log in
  • Authenticated User should be able to offer a ride.
  • Authenticated User should be able to request to join a ride.
  • Authenticated User should be able to see all rides.
  • Authenticated User should be able to get a specific ride
  • Authenticated User should be able to reject or accept a specific ride

Current limitations

  • This application is still very much a work in progress, and therefore has the following limitations

  • Users once signed up cannot delete their account

  • Users cannot edit their account

  • All posted ride offers cannot be deleted

  • All sent ride requests cannot be deleted

API Endpoints

Endpoint Functionality
POST /auth/signup Register a user
POST /auth/login Login a user
GET /rides Fetch all available rides
GET /rides/<rideId> Fetch the details of a single ride
POST /users/rides Create a Ride offer
POST /rides/<rideId>/requests Make a ride request
GET /users/rides/<rideId>/requests Feth all ride requests
PUT /users/rides/<rideId>/requests/<requestId> Accept or Reject a ride request

To Install

  • Download or clone
  • Open terminal inside the root directory of clone folder
  • Type npm install to install all dependencies
  • npm start to run the app
  • npm run start:dev to run development environment
  • npm test to run the test suits on the app

API Endpoint: https://frozen-mesa-95948.herokuapp.com/api/v1

AUTHOR

Valentine Ezeh