Skip to content

The MERN client created in my Medium story: MERN Tutorial - Building a Mobile Application

Notifications You must be signed in to change notification settings

runefa/MERN_Mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN_Mobile

The MERN client created in my Medium story: MERN Tutorial  -  Building a Mobile Application.

How to start the server

  • 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

How to start the client

  • 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

How to start the mobapp

  • Make sure the server is running first
  • Type react-native run-ios in your mobapp directory to start the mobapp

About

The MERN client created in my Medium story: MERN Tutorial - Building a Mobile Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published