rn chat
1.0.0
Native Native、NativeBase、Apollo HooksとSequelizeで作られたチャットアプリ。
m:n Relationsn:1関係cd serverとnpm install依存関係をインストールしますserver/src/data/connectors.jsでデータベース接続を設定しますnew Sequelize('postgres://dbuser:password@localhost:5432/chat',...db.sync({ force: true }).then(async () => await seed()).catch(error => console.log(error)); server/src/data/connectors.jsでデータベースをシードしますnpm run start http serverとgraphql遊び場はhttp://localhost:5000とws://localhost/graphqlにロードされますcd clientとyarn install依存関係をインストールしますclient/src/App.jsでサーバーURLを設定します。たとえば、 const uri = '10.0.2.2:5000';またはconst uri = '192.168.0.185:5000';yarn run android実行中のAndroidエミュレータでネイティブクライアントを反応させる[email protected] 、 123456でログインします











