Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 656 Bytes

File metadata and controls

10 lines (8 loc) · 656 Bytes

MERN_Client

The MERN client created in my Medium story: MERN Tutorial - Building a Web App.

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

  • 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