Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
378 commits
Select commit Hold shift + click to select a range
1390781
remoove page tabber classes
ffugly Sep 15, 2021
bd701af
Merge pull request #197 from fugitivelabs/3-blank
WesJourdan Sep 15, 2021
2c15d30
navigation and props to single product
austincline09 Sep 15, 2021
1f5c656
single product changes
austincline09 Sep 16, 2021
bd40306
pr fixes
austincline09 Sep 16, 2021
d624a7c
remove experimental folder
austincline09 Sep 16, 2021
c638063
tailwind library file note
austincline09 Sep 16, 2021
1e5d765
Merge pull request #198 from fugitivelabs/mobile-update-2
grantfowler Sep 16, 2021
aa73953
Merge branch '3' of https://github.com/fugitivelabs/yote into mobile-…
austincline09 Sep 16, 2021
b88bfa7
create product nav and form
austincline09 Sep 16, 2021
17a01e8
update product view and nav
austincline09 Sep 16, 2021
294fc8c
remove logs
austincline09 Sep 16, 2021
4bfe00d
remove comments
austincline09 Sep 16, 2021
b178232
remove comments on web file
austincline09 Sep 16, 2021
354e1b7
change skeleton
austincline09 Sep 17, 2021
13bb34c
session variables
Sep 20, 2021
b4b8830
Merge pull request #199 from fugitivelabs/mobile-products-1
WesJourdan Sep 20, 2021
bf2af23
auth navigator
austincline09 Sep 21, 2021
f08ec15
Merge branch '3' of https://github.com/fugitivelabs/yote into mobileAuth
austincline09 Sep 21, 2021
71662f2
set up react to allow us to serve index.html from our server. update …
WesJourdan Sep 21, 2021
7720b70
set up express so we can inject req.user in the html safely on initia…
WesJourdan Sep 21, 2021
a9370dc
fix login redirect, clean up
WesJourdan Sep 21, 2021
cce1192
rm more styles
WesJourdan Sep 22, 2021
71615ef
cleanup
Sep 22, 2021
bed5986
Merge pull request #200 from fugitivelabs/3-mobile-auth
WesJourdan Sep 22, 2021
a675b58
Merge branch '3' of https://github.com/fugitivelabs/yote into 3-serve…
WesJourdan Sep 22, 2021
11376f1
set env variable to so webpack hot reloading websocket uses the dev s…
WesJourdan Sep 22, 2021
703f3ce
re-organize server html stuff
WesJourdan Sep 22, 2021
d98fdf6
Merge branch '3-server-html' of https://github.com/fugitivelabs/yote …
WesJourdan Sep 22, 2021
01ef3f8
Merge pull request #201 from fugitivelabs/3-server-html
grantfowler Sep 22, 2021
edf6b6a
rm redirect, add landing
WesJourdan Sep 22, 2021
d7905dc
Merge branch '3' of https://github.com/fugitivelabs/yote into 3-blank-2
WesJourdan Sep 22, 2021
3459b71
Merge pull request #203 from fugitivelabs/3-blank-2
grantfowler Sep 22, 2021
5139994
Merge branch '3' of https://github.com/fugitivelabs/yote into 3-web-c…
WesJourdan Sep 22, 2021
37e0743
fix location state for redirects to/from login
WesJourdan Sep 22, 2021
5c0c165
login & register mobile components
austincline09 Sep 22, 2021
7821d90
Merge branch '3' of https://github.com/fugitivelabs/yote into mobileL…
austincline09 Sep 22, 2021
e06f65c
logout fixes
austincline09 Sep 22, 2021
f939e89
delete old files
austincline09 Sep 22, 2021
2e98b9d
Merge pull request #204 from fugitivelabs/mobileLogin
grantfowler Sep 22, 2021
ad4c9d7
whitspace
WesJourdan Sep 22, 2021
e085b37
Merge pull request #205 from fugitivelabs/3-web-cleanup
grantfowler Sep 22, 2021
35f7f64
maybe but needs testing
Sep 23, 2021
0a841cc
auth testing mobile
austincline09 Sep 23, 2021
05c215f
Merge branch '3-mobile-auth-2' of https://github.com/fugitivelabs/yot…
austincline09 Sep 23, 2021
5fe52a2
shadow scope
Sep 23, 2021
b33266d
auth testing 2
austincline09 Sep 23, 2021
04487b7
Merge branch '3-mobile-auth-2' of https://github.com/fugitivelabs/yot…
austincline09 Sep 23, 2021
a478748
mobile login token
austincline09 Sep 23, 2021
e728c3e
some cleanup
WesJourdan Sep 23, 2021
8cd1173
add email input
WesJourdan Sep 23, 2021
cafa599
handle errors, clean up
WesJourdan Sep 23, 2021
b82ff2a
updates basic usage docs
airtwo Sep 24, 2021
3c7ed4b
adds basic body, link, label, ul styles
airtwo Sep 24, 2021
b433a74
move baseline styles to index.css
airtwo Sep 24, 2021
0062c82
markup changes
airtwo Sep 24, 2021
2cacbbb
token name change
austincline09 Sep 24, 2021
610ac7a
Merge pull request #208 from fugitivelabs/update_basic_usage_docs
ffugly Sep 24, 2021
f96c3a5
add textarea input, clean up
WesJourdan Sep 24, 2021
16ee7d3
number input
WesJourdan Sep 24, 2021
562a021
radio input
WesJourdan Sep 24, 2021
b241bfb
checkbox input
WesJourdan Sep 24, 2021
ca1aa0e
Merge branch '3' of https://github.com/fugitivelabs/yote into 3-mobil…
Sep 27, 2021
246a8c6
cleanup
Sep 27, 2021
dbce099
clean up
WesJourdan Sep 27, 2021
0d2526b
Merge branch '3' into baseline_styles
airtwo Sep 28, 2021
9536f39
replace raw ccss in index w/ utilities, responsive default nav using …
airtwo Sep 28, 2021
2be533c
basic utilities on landing.jsx
airtwo Sep 28, 2021
89553fc
error msgs
Sep 28, 2021
98cc1a4
basic form utilities
airtwo Sep 28, 2021
7201ad3
adds example color configuation to tailwind config
airtwo Sep 28, 2021
299c28d
pull sutilities through to sign in
airtwo Sep 28, 2021
c3aa9e5
consistent padding
airtwo Sep 28, 2021
fae5845
placeholders for layer overrides
airtwo Sep 28, 2021
e29b7b5
update
airtwo Sep 28, 2021
ec021e4
remove app.css explicit styles
airtwo Sep 28, 2021
e206801
yote color pallete loaded through tailwind
airtwo Sep 28, 2021
5e36bad
user register and rm old nav files
austincline09 Sep 28, 2021
b012c14
register just check for returned user
austincline09 Sep 28, 2021
da8545d
re-fetch user on register
Sep 28, 2021
8efd900
Merge pull request #206 from fugitivelabs/3-mobile-auth-2
ffugly Sep 28, 2021
d003865
Merge branch '3' of https://github.com/fugitivelabs/yote into mobile-…
austincline09 Sep 28, 2021
934896b
Merge pull request #207 from fugitivelabs/mobile-auth
grantfowler Sep 28, 2021
26f2583
pull 3
WesJourdan Sep 28, 2021
1829259
Merge pull request #210 from fugitivelabs/3-form-components
grantfowler Sep 28, 2021
fef3955
simpler defualts, fugitive greens override tailwind greens
airtwo Sep 29, 2021
c490da1
extract btn class to component layer
airtwo Sep 29, 2021
f6ad79e
extract card styles into component class
airtwo Sep 29, 2021
05bc812
fix merge conflicts
airtwo Sep 29, 2021
7f59100
adds input utilities to email input component
airtwo Sep 29, 2021
103a584
classNames that I missed
airtwo Sep 30, 2021
1976db3
comment outlining base styles
airtwo Sep 30, 2021
f26e62e
pull back on cdefault component classes
airtwo Sep 30, 2021
63dde8a
remove color examples, provide basic example in comment
airtwo Sep 30, 2021
525ad25
Merge pull request #209 from fugitivelabs/baseline_styles
ffugly Sep 30, 2021
5d67215
fix product list item error
austincline09 Oct 4, 2021
d0660e9
Merge pull request #211 from fugitivelabs/mobile-tailwind
grantfowler Oct 4, 2021
fb7e241
clear store on login/logout
WesJourdan Oct 5, 2021
11a2661
update login check error
WesJourdan Oct 6, 2021
7328f56
update error handling for Product
WesJourdan Oct 6, 2021
7292c94
clean up
WesJourdan Oct 6, 2021
c957160
update auth flow to access status codes and error messages
WesJourdan Oct 6, 2021
5da3c17
controller cleanup
WesJourdan Oct 6, 2021
5e0d1b8
clean up and comments
WesJourdan Oct 6, 2021
f520b6b
Merge pull request #212 from fugitivelabs/3-error-handling
grantfowler Oct 7, 2021
ff6fcc3
updated mobile error handling
austincline09 Oct 8, 2021
f5b7b08
fix status code
austincline09 Oct 8, 2021
590aa05
remove sessionToken from web authStore
austincline09 Oct 8, 2021
18717ae
fix default fetch bug on server
WesJourdan Oct 8, 2021
a4b9952
Merge pull request #215 from fugitivelabs/3-default-fetch-bug
grantfowler Oct 8, 2021
f0ddd32
Merge branch '3' of https://github.com/fugitivelabs/yote into mobile-…
austincline09 Oct 8, 2021
4967416
update login & register methods to check for mobile and handle token,…
WesJourdan Oct 11, 2021
7c99a5a
update store to deal with server returning token, simplify register c…
WesJourdan Oct 11, 2021
65c682f
clean up
WesJourdan Oct 11, 2021
7d25f88
rm log
WesJourdan Oct 11, 2021
2368df9
Merge pull request #217 from fugitivelabs/mobile-auth-bug
grantfowler Oct 12, 2021
85c5437
clean up and rm unused things
austincline09 Oct 12, 2021
9179961
Merge pull request #214 from fugitivelabs/mobile-error-codes
grantfowler Oct 12, 2021
97d0e77
fix it
Oct 13, 2021
f1f1380
Merge pull request #218 from fugitivelabs/3-server-render
WesJourdan Oct 13, 2021
3799bbb
disable buttons on PageTabber when expected, show error on create, rm…
WesJourdan Oct 15, 2021
19daa13
Merge pull request #219 from fugitivelabs/3-web-cleanup-2
grantfowler Oct 15, 2021
fd58980
clear errors on new fetch
WesJourdan Oct 19, 2021
2a0a399
add util to validate listArgs
WesJourdan Oct 19, 2021
0d10a79
update product service for new chained fetch ability, add notes on ho…
WesJourdan Oct 19, 2021
152fe59
cleanup
WesJourdan Oct 19, 2021
0253a25
Merge branch '3' of https://github.com/fugitivelabs/yote into 3-chain…
WesJourdan Oct 19, 2021
72f1549
Merge pull request #221 from fugitivelabs/3-chained-fetches
grantfowler Oct 20, 2021
6a0f7d5
apply latest to mobile
WesJourdan Oct 20, 2021
063319c
some mobile cleanup
WesJourdan Oct 20, 2021
f6de132
updated to react native 66
austincline09 Oct 20, 2021
1be5934
Merge pull request #222 from fugitivelabs/3-mobile-chained-fetches
grantfowler Oct 20, 2021
28fa621
app specific deep linking
austincline09 Oct 21, 2021
8c14f6c
android deep link setup
austincline09 Oct 21, 2021
19602bf
Merge branch '3' of https://github.com/fugitivelabs/yote into react-n…
austincline09 Oct 21, 2021
8c1288e
Merge pull request #223 from fugitivelabs/react-native-66
grantfowler Oct 21, 2021
c3c86cc
twrnc finally working omfg
airtwo Oct 22, 2021
900039b
more testing on mobile login screen
airtwo Oct 22, 2021
4b364fe
rest of login, yt-btn
airtwo Oct 22, 2021
da62189
yt button full tailwind
airtwo Oct 22, 2021
3659cd2
remove tint test
airtwo Oct 22, 2021
cddce21
waiton
airtwo Oct 22, 2021
0762027
ytheader
airtwo Oct 22, 2021
db6eff3
get ytstyles out of header
airtwo Oct 22, 2021
4199c81
hero home list item
airtwo Oct 22, 2021
ec58493
profile
airtwo Oct 22, 2021
ac0922f
tw class as props
airtwo Oct 22, 2021
97eef64
remove other tw package
airtwo Oct 22, 2021
a99fde2
add server stuff for basic notifications resource
WesJourdan Oct 25, 2021
a15542e
add notification store and service with support for server sent events
WesJourdan Oct 25, 2021
ded601b
add basic notification dropdown
WesJourdan Oct 25, 2021
55d94d8
add CloseWrapper and clean up some syntax
WesJourdan Oct 25, 2021
93cdb17
make dismissable, clean up
WesJourdan Oct 26, 2021
2c4adfe
better names and comments
WesJourdan Oct 26, 2021
35eefde
Merge pull request #224 from fugitivelabs/3-ios-tw
airtwo Oct 27, 2021
023e569
fix bug in listArgs check, make it a util, update references
WesJourdan Oct 27, 2021
9e7b34c
update mobile
WesJourdan Oct 27, 2021
7a67187
Merge pull request #225 from fugitivelabs/3-basic-notifications
grantfowler Nov 12, 2021
5b7edc7
Merge branch '3' of https://github.com/fugitivelabs/yote into 3-list-…
WesJourdan Nov 12, 2021
ef31ae3
Merge pull request #226 from fugitivelabs/3-list-arg-util
grantfowler Nov 12, 2021
1df1c26
update formss and parent views to make form state available at top le…
WesJourdan Jan 28, 2022
1e0ea6b
typos, bugs, react warnings
WesJourdan Jan 28, 2022
40a4253
Merge pull request #228 from fugitivelabs/3-form-state-and-bugs
grantfowler Jan 31, 2022
5e2a322
replace styles and remove old yote folder
austincline09 Mar 25, 2022
0215a49
Merge pull request #236 from fugitivelabs/yote-mobile-replace-styles
grantfowler Mar 31, 2022
fa8fa23
add SearchInput, add server side search, add SearchableProductList to…
WesJourdan Apr 18, 2022
b53d8cc
add new service/store related utils, update related views
WesJourdan Apr 18, 2022
b8dafd9
clean up and minor bugs
WesJourdan Apr 18, 2022
215e79e
add server text search ability, add new view to demonstrate
WesJourdan Apr 19, 2022
ad11f26
scroll to top when user clicks a new page in a paginated list
WesJourdan Apr 19, 2022
559bb7c
clean up
WesJourdan Apr 19, 2022
f01cb55
Merge branch '3' of https://github.com/fugitivelabs/yote into 3-web-u…
WesJourdan Apr 19, 2022
b085cad
clean up
WesJourdan Apr 19, 2022
33f615f
Merge pull request #241 from fugitivelabs/3-web-updates
grantfowler Apr 21, 2022
b6cac7c
add SearchInput and YTTextInput
WesJourdan Apr 26, 2022
151052a
store updates
WesJourdan Apr 26, 2022
8c65352
clean up
WesJourdan Apr 26, 2022
53a9b7d
update product service, update create and update product views to use…
WesJourdan Apr 26, 2022
655e508
skeleton
WesJourdan Apr 26, 2022
6e41650
add infinite scrolling product list using new hook
WesJourdan Apr 26, 2022
17fea3a
podfile ish
WesJourdan Apr 26, 2022
5df71a4
whole bunch of clean up
WesJourdan Apr 27, 2022
2f6605d
Merge pull request #242 from fugitivelabs/3-mobile-updates
grantfowler Apr 27, 2022
2f20816
a few more little things
WesJourdan Apr 28, 2022
7bda34d
Merge pull request #244 from fugitivelabs/3-more-cleanup
grantfowler Apr 28, 2022
5b199c2
Extract shared logic in productService to global serviceHooks files, …
WesJourdan Jun 3, 2022
a23e539
better comments
WesJourdan Jun 3, 2022
1f3493c
add InfiniteList, update related product components
WesJourdan Jun 3, 2022
809d089
add null check, include new dependencies
WesJourdan Jun 3, 2022
251f285
clean up, comments
WesJourdan Jun 3, 2022
314f1a6
stable running RN 68
austincline09 Jun 6, 2022
4096b1c
package and pod lock files
austincline09 Jun 6, 2022
bf9c88f
Merge pull request #248 from fugitivelabs/react-native-68
grantfowler Jun 6, 2022
c3fb9b7
add new serviceHooks to web, update product stuff to match
WesJourdan Jun 7, 2022
2d92c49
clean up a bunch of little things
WesJourdan Jun 7, 2022
1ccb16c
a couple more little things on mobile
WesJourdan Jun 7, 2022
47c3c75
pull origin 3
WesJourdan Jun 7, 2022
de054a8
update tailwind config for v3, update minor gradle version
WesJourdan Jun 8, 2022
367cb47
ensure refresh of infinite list on invalidation
WesJourdan Jun 14, 2022
0cb24df
Merge pull request #247 from fugitivelabs/3-infinite-list-and-services
grantfowler Jun 14, 2022
0a768e6
package updates
WesJourdan Jun 14, 2022
c78f1d0
Merge branch '3' of https://github.com/fugitivelabs/yote into 3-web-s…
WesJourdan Jun 14, 2022
2f1f842
Merge pull request #249 from fugitivelabs/3-web-services
grantfowler Jun 14, 2022
89fdf9a
pull origin
WesJourdan Jun 14, 2022
a31b0b0
Merge pull request #250 from fugitivelabs/3-invalidate-infinite-list
grantfowler Jun 14, 2022
e649fb3
fix mobile cookie issue on mobile
austincline09 Jul 12, 2022
6a0ee8c
Merge branch '3' of https://github.com/fugitivelabs/yote into mobile-…
austincline09 Jul 12, 2022
6ce09d2
podfile
austincline09 Jul 12, 2022
dbdeb0a
rm server logs
austincline09 Jul 12, 2022
52a9c55
rm space
austincline09 Jul 12, 2022
f064810
Merge pull request #254 from fugitivelabs/mobile-cookie-fix
grantfowler Jul 12, 2022
e837118
updated deep/universal link setup
austincline09 Jul 19, 2022
c425c5a
fix issue not running on sim
austincline09 Jul 19, 2022
ea7357c
Merge branch '3' of https://github.com/fugitivelabs/yote into deep-li…
austincline09 Jul 19, 2022
4ca6074
Merge pull request #255 from fugitivelabs/deep-link-updates
grantfowler Jul 21, 2022
a5b5b5e
rm old versions
Nov 22, 2022
65c6e92
upgrade packages and fix current user bug
Nov 22, 2022
6de7a95
add empty fallback for WaitOn, update notification dropdown
Nov 22, 2022
40b29f0
new form components and tooltip
Nov 22, 2022
7c93708
add url query params stuff to searchable product list
Nov 22, 2022
21bdb77
add new internal pagination state example on product list
Nov 22, 2022
4c5d7b8
add support for atomic state updates and an example on SingleProduct,…
Nov 23, 2022
60d5c3f
cleanup
Nov 23, 2022
af1b449
Merge pull request #258 from fugitivelabs/react-scripts-upgrade
grantfowler Nov 23, 2022
fc47789
Merge branch '3' of https://github.com/fugitivelabs/yote into compone…
Nov 23, 2022
43d7490
Merge pull request #259 from fugitivelabs/component-updates
grantfowler Nov 23, 2022
5fda8c1
Merge branch '3' of https://github.com/fugitivelabs/yote into url-lis…
Nov 23, 2022
e81b59f
Merge pull request #260 from fugitivelabs/url-list-query-params
grantfowler Nov 23, 2022
c192020
Merge branch '3' of https://github.com/fugitivelabs/yote into atomic-…
Nov 23, 2022
ba4c96e
Merge pull request #261 from fugitivelabs/atomic-state-updates
grantfowler Nov 23, 2022
9f0f217
update proptypes, fallback values to squash react warnings
Nov 28, 2022
b7402e6
Merge pull request #262 from fugitivelabs/3-fix-console-warnings
grantfowler Nov 29, 2022
3eeab9a
account for empty arrays on listarg check
Dec 9, 2022
57f0f68
comments, proptypes, cleanup
Dec 9, 2022
ac2ffa5
add lazy loading on resource routes
Dec 12, 2022
0d1036f
add reusable modal component
Dec 12, 2022
e418910
get rid of more console warnings
Dec 12, 2022
6a9be8d
whitespace
Dec 12, 2022
b462949
input props
Dec 12, 2022
116a95b
Merge pull request #267 from fugitivelabs/3-fetch-all-bug
grantfowler Dec 14, 2022
25e1c24
update store and service for new fetch api
Jan 23, 2023
fd65312
add missing util
Jan 23, 2023
6576ca8
more updates
Jan 24, 2023
554823e
fetch next bug
Jan 24, 2023
b1521fe
Merge pull request #270 from fugitivelabs/3-route-based-code-splitting
grantfowler Jan 24, 2023
0c25cea
pull 3
Jan 24, 2023
41697da
Merge pull request #275 from fugitivelabs/3-fetch-api-updates
grantfowler Jan 24, 2023
641bdbc
missed a couple
Jan 26, 2023
dabaa89
Merge pull request #278 from fugitivelabs/3-more-bugs
grantfowler Mar 21, 2023
ad367b7
conflicts with master
Mar 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
70 changes: 40 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,36 +60,46 @@ We assume at least intermediate-level knowledge of Javascript. For the server yo
## Basic Usage
****

> NOTE: Yote CLI is in active development. Note all commands may be ready. Please see
```
$ yote -h
```
for a full list of commands.

1. Install the Yote CLI
```
$ (sudo) npm install -g yote
```
1. Initialize your project
```
$ yote init MyApp
# ... this may take a minute
```
1. Change directory to `MyApp/server` and start the web server
```
$ cd MyApp/server
$ nodemon
# NOTE: yote run-server coming soon...
```
The Yote server is now listening at `http://localhost:3030` and watching for changes.
1. In a new terminal, change directory to `MyApp/client` and start the client
```
$ cd MyApp/client
$ npm run watch
# NOTE: yote run-client coming soon...
```
This runs the Yote client in watch mode to look for and recompile changes to the `bundle.js`
1. Using a browser, go to `http://localhost:3030` and you'll see "Welcome to Yote!"
1. Make sure you have MongoDB installed, [instructions here](https://docs.mongodb.com/manual/administration/install-community/), and have a **mongo server running locally** on the default port.

```
$[~] mongod --dbpath /path/to/data/db
```

2. **Start a server...**
Clone this repository and navigate to the `/server` directory.

{{ Placeholder: Add instructions for a secrets file, or add the default secrets file to the repo and delete this, or remove dependency on secrets and delete this }}

Run `npm install` from this directory
```
$[server] npm install
```

**...using nodemon**
Run the `nodemon` command from the `/server` directory.
```
$[server] nodemon
```

You should see an output that includes this line:
```
...
Example app listening at localhost:3030
```


**...using other_method**
{{ Placeholder: Instructions on spinning up a server not using nodemon }}

3. **Start the frontend...**
In another terminal window, navigate to the `/web` directory.

Run `yarn install`

Run `yarn start`

4. In your browser, navigate to localhost:3030 and you should see the "Welcome to Yote" screen.


## Documentation
Expand Down
2 changes: 2 additions & 0 deletions mobile/Yote/.bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BUNDLE_PATH: "vendor/bundle"
BUNDLE_FORCE_RUBY_PLATFORM: 1
24 changes: 8 additions & 16 deletions mobile/Yote/.flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,47 +8,41 @@
; Ignore polyfills
node_modules/react-native/Libraries/polyfills/.*

; These should not be required directly
; require from fbjs/lib instead: require('fbjs/lib/warning')
node_modules/warning/.*

; Flow doesn't support platforms
.*/Libraries/Utilities/LoadingView.js

.*/node_modules/resolve/test/resolver/malformed_package_json/package\.json$

[untyped]
.*/node_modules/@react-native-community/cli/.*/.*

[include]

[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/interface.js
node_modules/react-native/flow/

[options]
emoji=true

esproposal.optional_chaining=enable
esproposal.nullish_coalescing=enable
exact_by_default=true

format.bracket_spacing=false

module.file_ext=.js
module.file_ext=.json
module.file_ext=.ios.js

munge_underscores=true

module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/react-native/react-native-implementation'
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native\\(_ios\\)?_\\(oss\\|fb\\)[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

[lints]
sketchy-null-number=warn
sketchy-null-mixed=warn
Expand All @@ -57,10 +51,8 @@ untyped-type-import=warn
nonstrict-import=warn
deprecated-type=warn
unsafe-getters-setters=warn
inexact-spread=warn
unnecessary-invariant=warn
signature-verification-failure=warn
deprecated-utility=error

[strict]
deprecated-type
Expand All @@ -72,4 +64,4 @@ untyped-import
untyped-type-import

[version]
^0.105.0
^0.170.0
1 change: 0 additions & 1 deletion mobile/Yote/.gitattributes

This file was deleted.

6 changes: 3 additions & 3 deletions mobile/Yote/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ build/
.gradle
local.properties
*.iml
*.hprof

# node.js
#
Expand Down Expand Up @@ -55,7 +56,6 @@ buck-out/
# Bundle artifact
*.jsbundle

# CocoaPods
# Ruby / CocoaPods
/ios/Pods/

secrets.js
/vendor/bundle/
3 changes: 2 additions & 1 deletion mobile/Yote/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
arrowParens: 'avoid',
bracketSameLine: true,
bracketSpacing: false,
jsxBracketSameLine: true,
singleQuote: true,
trailingComma: 'all',
};
1 change: 1 addition & 0 deletions mobile/Yote/.ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.4
53 changes: 27 additions & 26 deletions mobile/Yote/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,30 @@
* @flow
*/

import React from 'react';
import { Provider } from 'react-redux';
import configureStore from './js/store/configureStore';
import AppContainer from './js/AppContainer';
import { PersistGate } from 'redux-persist/integration/react';

class App extends React.Component {
constructor() {
super();
}

render() {

const configuredStore = configureStore();

return (
<Provider store={configuredStore.store}>
<PersistGate loading={null} persistor={configuredStore.persistor}>
<AppContainer/>
</PersistGate>
</Provider>
);
}
}

export default App;
import React from 'react';
import { Provider } from 'react-redux';
import store from './js/config/store';
import AuthNavigator from './js/AuthNavigator';
import { PersistGate } from 'redux-persist/integration/react';

class App extends React.Component {
constructor() {
super();
}

render() {

const configuredStore = store();

return (
<Provider store={configuredStore.store}>
<PersistGate loading={null} persistor={configuredStore.persistor}>
<AuthNavigator/>
</PersistGate>
</Provider>
);
}
}

export default App;

6 changes: 6 additions & 0 deletions mobile/Yote/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby '2.7.4'

gem 'cocoapods', '~> 1.11', '>= 1.11.2'
100 changes: 100 additions & 0 deletions mobile/Yote/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.5)
rexml
activesupport (6.1.5.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
atomos (0.1.3)
claide (1.1.0)
cocoapods (1.11.3)
addressable (~> 2.8)
claide (>= 1.0.2, < 2.0)
cocoapods-core (= 1.11.3)
cocoapods-deintegrate (>= 1.0.3, < 2.0)
cocoapods-downloader (>= 1.4.0, < 2.0)
cocoapods-plugins (>= 1.0.0, < 2.0)
cocoapods-search (>= 1.0.0, < 2.0)
cocoapods-trunk (>= 1.4.0, < 2.0)
cocoapods-try (>= 1.1.0, < 2.0)
colored2 (~> 3.1)
escape (~> 0.0.4)
fourflusher (>= 2.3.0, < 3.0)
gh_inspector (~> 1.0)
molinillo (~> 0.8.0)
nap (~> 1.0)
ruby-macho (>= 1.0, < 3.0)
xcodeproj (>= 1.21.0, < 2.0)
cocoapods-core (1.11.3)
activesupport (>= 5.0, < 7)
addressable (~> 2.8)
algoliasearch (~> 1.0)
concurrent-ruby (~> 1.1)
fuzzy_match (~> 2.0.4)
nap (~> 1.0)
netrc (~> 0.11)
public_suffix (~> 4.0)
typhoeus (~> 1.0)
cocoapods-deintegrate (1.0.5)
cocoapods-downloader (1.6.3)
cocoapods-plugins (1.0.0)
nap
cocoapods-search (1.0.1)
cocoapods-trunk (1.6.0)
nap (>= 0.8, < 2.0)
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored2 (3.1.2)
concurrent-ruby (1.1.10)
escape (0.0.4)
ethon (0.15.0)
ffi (>= 1.15.0)
ffi (1.15.5)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
httpclient (2.8.3)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
json (2.6.1)
minitest (5.15.0)
molinillo (0.8.0)
nanaimo (0.3.0)
nap (1.1.0)
netrc (0.11.0)
public_suffix (4.0.7)
rexml (3.2.5)
ruby-macho (2.5.1)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
xcodeproj (1.21.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (~> 3.2.4)
zeitwerk (2.5.4)

PLATFORMS
ruby

DEPENDENCIES
cocoapods (~> 1.11, >= 1.11.2)

RUBY VERSION
ruby 2.7.4p191

BUNDLED WITH
2.2.27
Loading