You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 11, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9-30Lines changed: 9 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ Want to fix a bug or implement an agreed-upon feature? Great, jump to the [local
83
83
84
84
With the ground rules out of the way, let's talk about the coarse architecture of this mono repo:
85
85
86
-
-**Full-stack JavaScript**: We use Node.js to power our servers, and React to power our frontend and mobile apps. Almost all of the code you'll touch in this codebase will be JavaScript.
86
+
-**Full-stack JavaScript**: We use Node.js to power our servers, and React to power our frontend apps. Almost all of the code you'll touch in this codebase will be JavaScript.
87
87
-**Background Jobs**: We leverage background jobs (powered by [`bull`](https://github.com/OptimalBits/bull) and Redis) a lot. These jobs are handled by a handful of small worker servers, each with its own purpose.
88
88
89
89
Here is a list of all the big technologies we use:
@@ -93,8 +93,7 @@ Here is a list of all the big technologies we use:
93
93
-**GraphQL**: API, powered by the entire Apollo toolchain
94
94
-**Flowtype**: Type-safe JavaScript
95
95
-**PassportJS**: Authentication
96
-
-**React**: Frontend and mobile apps
97
-
-**Expo**: Mobile apps
96
+
-**React**: Frontend React app
98
97
-**DraftJS**: WYSIWYG writing experience on the web
99
98
100
99
#### Folder structure
@@ -110,7 +109,6 @@ spectrum/
110
109
├── hermes # Worker server (email sending)
111
110
├── hyperion # Server rendering server
112
111
├── mercury # Worker server (reputation)
113
-
├── mobile # Mobile apps
114
112
├── public # Public files used on the frontend
115
113
├── shared # Shared JavaScript code
116
114
├── src # Frontend SPA
@@ -257,31 +255,12 @@ To develop the desktop app you have to have the dev web server running in the ba
257
255
yarn run dev:desktop
258
256
```
259
257
260
-
#### Develop the mobile apps
258
+
> Note: If something didn't work or you ran into troubles please submit PRs to improve this doc and keep it up to date!
261
259
262
-
To start the mobile apps run:
260
+
<br />
261
+
<divalign="center">
262
+
<imgheight="200px"src="public/img/connect.svg" />
263
+
</div>
263
264
264
-
```
265
-
yarn run dev:mobile
266
-
```
267
-
268
-
And then open either the iOS simulator or the Android simulator with
269
-
270
-
```sh
271
-
yarn run open:ios
272
-
# or
273
-
yarn run open:android
274
-
```
275
-
276
-
Refer to [the Expo documentation on how to install the simulators](https://docs.expo.io/versions/v25.0.0/guides/debugging.html#using-a-simulator--emulator).
277
-
278
-
> Note: If something didn't work or you ran into troubles please submit PRs to improve this doc and keep it up to date!
0 commit comments