Skip to content

evently-app/client

Repository files navigation

evently-client

Evently is an events discovery app that allows you to swipe left/right on a stack of event cards: right to indicate interest, and left to indicate lack of interest. View a timeline of events you liked through the app, add these events to your calendar and purchase tickets.

This is the frontend of the app, built in React Native. We used Redux to manage global state, mapbox for location services, and connect to a Firebase backend.

Getting Started

  • get the GoogleServiceInfo file from an admin
  • yarn setup pulls node packages and installs ios cocoapods
  • yarn ios starts react native app in ios simulator

Running the tests

  • yarn test runs all of our test
  • testing that each component renders, and renders according to a "snapshot" of what the component looked like in previous renders
  • created mocks for Firebase, Mapbox, other Native elements
  • used jest for testing

Coding style tests

We used DeepScan to enforce style, as well as JSPrettier, which formats code upon save.

Deployment

CI set up via Codepush/TestFlight.

Built With

Architecture Overview

/src/components

This where most of the code related specifically to our app lives. Directories are split up by the three main views of our app:

Feed

Users swipe left and right on event cards - left if not interested, right if interested. Components:

  • event card - one "card" for each event
  • action button - dynamic button to purchase tickets
  • swipeable - swiping functionality for card
  • feed - component at the top of the screen that allows you to filter for different event types and times

Profile

Users update their event preferences, which will influence the types of events they are served in the feed. Components:

  • Dial - dials that users turn to indicate how much of a particular event mood they would like

Timeline

Users see a timeline of all events they expressed interest in. They can click on event to purchase tickets, or add the event to their Native calendar. Components:

  • Eventcardpreview - a preview-version of the event card that users saw in the feed
  • Calendar button - button that handles adding an event to your Native calendar

Universal

These are components used throughout the app, most related to text and styles.

/src/lib

Houses images, icons, etc. used in our app

/src/redux

Redux modules for each of our main components. Corresponding tests for these actions can be found in our tests folder, under Redux.

/ios and /andriod

ios-specific modules, stored as "pods," and andriod modules, respectively, that we needed to control our app. Some pods include calendar addition and location services.

About

front-end for evently built in React Native

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors