Skip to content

CPSECapstone/GreasyStallions

Repository files navigation

How to run Greasy Stallions Flipt(ed)

  • Clone this repo
  • Make sure you have npm, expo, and react-native installed (npm install ______)
  • Run 'npm install' from the root directory to create the build
  • Run 'npm start' ... this will run the expo server and give instructions to open the app preview in web, iOS, or Android

How to set up the Backend

Apollo GraphQL Example

Supports Expo iOS Supports Expo Android Supports Expo Web

🚀 How to use

  • Clone this Github repo
  • Install with yarn or npm install.
  • Run expo start in the command line while in project folder to try it out.
  • Press "w" to run web server
  • Press "i" with iOS simulator running to run iOS build
  • Press "a" with Android simulator to run android build

How to Create an Account:

How to Submit a Bug:

📝 Notes

  • The Apollo configuration lies in the apollo.js file.
  • The file also contains an option (with commented code) to pass an authorization token to the API.
  • Apollo Client Docs

Style guide

Spacing

  • Tabs 4 spaces
  • Put spaces around = sign in assignments
    • ex. let x = 1;
  • Put spaces around operators
    • ex. x = 1 + 1;
  • Lines should be < 90 chars
  • Indent extended from > 90 char lines by 2 spaces

Variable names

  • Use meaningful variable names
  • Use camelCasing for multiword variable names
  • Be consistent with abbreviations in variable names

Others

  • Remove console.logs in main branch code after debugging

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published