Skip to content

jz1611/chugging-across-america

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chugging Across America

Features

  • Users can:
    • Locate breweries in target destinations
    • Register an account and save road trips
    • Keep track of which breweries they've been to/beers had
    • Can edit routes based on POIs
    • Post/view brewery/beer suggestions
  • Admins can:
    • Remove posts
    • Remove/suspend users
    • Rules/social responsibility

Front-end

Checklist

  • reset.css ==> eric meyers 2.0 reset
  • package.json

File Structure

  • src/
    • App.js => class
    • index.js
    • App.css
    • index.css => reset.css
    • setupProxy.js
    • Components/
      • Auth.js
      • Header.js
      • Dashboard.js
      • Profile.js
      • Trip.js
      • Weather.js
      • Breweries.js
      • Reviews.js
      • Homepage.js
    • Routes

Dependencies

  • axios ==> make API calls
  • redux-promise-middleware
  • react-router-dom ==> navigate components
  • react-icons
  • react-loader-spinner

Back-end

Checklist

File Structure

  • server/
    • server.js
    • controllers/
      • authController.js
      • mapsController.js
      • beerController.js
      • weatherController.js
    • middleware
      • authMiddleware.js

Dependencies

  • express
  • express-session
  • massive
  • bcryptjs
  • dotenv

API Routes

Auth:

  • Login: POST /auth/login
  • Register: POST /auth/register
  • Logout: DELETE /auth/logout

Breweries

  • Get All Breweries: Get v2/breweries/key&query

Weather

  • Get weather: GET TBD

Profile

  • Get saved trips: GET /user/trips
  • Save trip: POST /user/trip
  • Remove trip: DELETE /user/trip/:id
  • Get info: GET /user
  • Update info: PUT /user/update

Data

const service = {
    id: Number,
    name: String,
    description: String
}

Database

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.3%
  • CSS 4.8%
  • HTML 1.3%
  • TSQL 0.6%