Node, Watchman, React-Native CLI, Xcode
See https://reactnative.dev/docs/environment-setup
npx react-native run-ios
or if using Android
npx react-native run-android
The frontend is built using react native while the backend and is Hasura
GraphQL is the primary API, managed on the client side with Apollo
The primary objective is to create a pleasant and intuitive user experience. Other priorities include:
-
Consistent experience across time and between users
-
Minimize bugs and runtime errors
-
Small package size. Do not install a library unless it is necessary and if possible pick the smallest available option
-
Ensuring the app is compatible with most phones in use today
all components and large functions should be annotated with JSDocs. For example:
/**
* Represents a book.
* @constructor
* @param {string} title - The title of the book.
* @param {string} author - The author of the book.
*/
function Book(title, author) {
}
Do not be afraid to use inline comments to further describe the more complex parts of your code.
We have taken the approach of using functional components and hooks in this project.
Prettier is our code formatter of choice. Reference the .prettierrc.js file in home directory for details. In general please try to keep functions and components as short and simple as possible.
- If you see a server error regarding your JWT token simply refresh the app
- If someone adds a dependency to package.json make sure you run
npm installand rebuild the app (may also need to runnpx pod-install)