Code Monkey home page Code Monkey logo

octave's Introduction

Octave

Link to deployed project

http://octave-bananas.surge.sh/

Project Description

A fullstack app using React, Node, and Express where users can see and select events after registering and logging in. Users can view all events happening in their area (NYC). Users can select events to attend.

Feature List

  • App registration
  • App login
  • App signout
  • User authentication
  • User can see list of events and relevant data
  • User can like artists
  • User can track events
  • User can write a review for the artist
  • User can write a review for the venue
  • Users can see all reviews for each venue and artist

API Endpoint Documentations

//Get all users userRouter.get '/'

//Get a specific user userRouter.get '/:id'

// Register route userRouter.post '/'

//Login route userRouter.post '/login'

// Add to LIKES table userRouter.put '/:user_id/artists/:artist_id'

// Get all artists which user liked userRouter.get '/:user_id/artists'

// Delete from LIKES table userRouter.delete '/:user_id/artists/:artist_id'

// Add to ATTENDS table userRouter.put '/:user_id/events/:event_id'

// Get all events user is attending userRouter.get '/:user_id/events'

// Delete from ATTENDS table userRouter.delete '/:user_id/events/:event_id'

// Get all events eventRouter.get '/'

// Get a specific event eventRouter.get '/:event_name'

// Add an event with a venue eventRouter.post '/:venue_id'

// Delete an event eventRouter.delete '/:id'

// Add to PERFORMS table eventRouter.put '/:event_id/artists/:artist_id'

// Get all artists that will perform at the event eventRouter.get '/:event_id/artists'

// Get all venues venueRouter.get '/'

// Get a specific venue venueRouter.get '/:venue_name'

// Add a venue venueRouter.post '/'

// Delete a venue venueRouter.delete '/:id'

// Get all venue reviews venueReviewRouter.get '/'

// Get all venue reviews of a venue venueReviewRouter.get '/:venue_id'

// Add a venue review. first id is venue id, second id is user id venueReviewRouter.post '/:id/users/:user_id'

// Delete a venue review venueReviewRouter.delete '/:id'

// Edit a venue review venueReviewRouter.put '/:id'

// Get all artists artistRouter.get '/'

// Get a specific artist artistRouter.get '/:artist_name'

// Add an artist artistRouter.post '/'

// Delete an artist artistRouter.delete '/:id'

// Get all artist reviews artistReviewRouter.get '/'

// Get all artist reviews for an artist artistReviewRouter.get '/:artist_id'

// Add an artist review. first id is the artist id, second id is the user id artistReviewRouter.post '/:id/users/:user_id'

// Delete an artist review artistReviewRouter.delete '/:id'

// Edit an artist review artistReviewRouter.put '/:id'

List Dependencies

  • Axios
  • Express
  • Morgan
  • Pg
  • Nodemon
  • Sequelize
  • Body-Parser
  • Cors
  • React-router-dom
  • Bcrypt
  • Jsonwebtoken
  • Moment.js

Wireframes

Wireframe Main View

Component Hierarchy

Components

Code Snippet

const fetchArtist = this.props.currentEvent._embedded.attractions[0].name;
const artist = await findArtist(fetchArtist);

if (!artist.artist) {
  const newArtist = await addArtist({name: this.props.currentEvent._embedded.attractions[0].name, picture: this.props.currentEvent._embedded.attractions[0].images[0].url});
  // eslint-disable-next-line
  const artistReview = await addArtistReview(newArtist.artist.id, this.props.user.id, review);
} else {
  // eslint-disable-next-line
  const artistReview = await addArtistReview(artist.artist.id, this.props.user.id, review);
}

octave's People

Contributors

akogundipe avatar darwin911 avatar dependabot[bot] avatar e-sohn avatar mikeyf53 avatar

Watchers

 avatar

Forkers

e-sohn

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.