A React Native concept exercise that was never completed or launched with good aesthetic. I've left our internal style guide below.
The idea was to basically just specify a price, time, and location—where we'll match you up to an expert that will pick you up and plan your entire evening: from the choice of restaurant to even the food and drink selected. Simply pay and we'll handle the rest based on your budget.
Interested in realizing this project? The backend is in a separate repo. Chat with me: [email protected]
As always, npm install
and the following manual steps:
Download https://origincache.facebook.com/developers/resources/?id=facebook-ios-sdk-current.zip and unzip all contents into ~/Documents/FacebookSDK
.
The guidelines below should be observed for the project.
android
ios
res
- img
src (platform agnostic)
- components (reusable components)
- views (entire views)
- utils
- stores
- actions
nav.js
index.ios.js (ios-specific modules/etc)
index.android.js (android-specific modules/etc)
- 80 characters per line.
- Break lines on operands, with the operand indented on the next line.
- Code should be written for ES6 compatability and style should follow the standards set here: http://javascript.crockford.com/code.html
- Use
let
instead ofvar
for variable declarations. - Always use semi-colons.
- All imports should be declared at the top, separated by utilities and Component imports with a comment line above indicating the type of import.
- Importing from a module should be contained in a single instruction and named imports should look as follows (with tabbing):
import DefaultImport, {
FirstImport, SecondImport, ThirdImport, FourthImport,
FifthImport
} from 'SomeModule';
- Exports should be done at the declaration (like
export default class Something extends Component
) and not throughmodule.exports
. - If a module only contains a single export, then use
default
.
- All comments should be on their own line (no inline commenting).
- All comments should be preceded by an empty line directly above, unless there is a comment directly above already.