The MERN client created in my Medium story: MERN Tutorial - Building a Mobile Application.
- Type
mongod-dbpath <mongo-data-dir>
to start the Mongo daemon in the background (the database used for this project) - Type
DEBUG=server:* npm start
in your server directory to start the server
- Make sure the server is running first
- Type
PORT=3001 REACT_APP_SERVER="http://localhost:3000/" npm run start
in your client directory to start the client- REACT_APP_SERVER is where your HTTP Requests are made, can be external
- Make sure the server is running first
- Type
react-native run-ios
in your mobapp directory to start the mobapp