Follow the next steps in order to run the application:
-
Add an
.env
file in theclient
folder with the key-valueSKIP_PREFLIGHT_CHECK=true
. Otherwise, the React won't build. -
Download and install MongoDB from https://www.mongodb.com/download-center/community
-
Add your
<mongodb installation dir>/bin
to the PATH environment variable. For exampleC:\Program Files\MongoDB\Server\4.0\bin
. -
In order to run the finished application, go to the
client
folder, and executeyarn run build
inside theclient
folder. Otherwise, executeyarn start
. -
Run
mongod
andyarn run dev
in different consoles. -
Navigate to http://localhost:9000/ if you're running the finished application. Other wise go to http://localhost:3000/.