- Go to back-end folder with
cd back-end
on your terminal. - Run
npm install
This will install all dependencies.
- Visit this documentation and create a free cluster.
- Create
.env
file. - Paste your Mongo DB url and replace
<password>
with your password.
MONGO_URL = ***YOUR MONGODB URL***
- Run
npm start
to start the server. - If you connect it successfully, you'll see this logs on your terminal.
Server is ready
Connected to Mongo
- Go to socket-io folder with
cd socket-io
on your terminal. - Run
npm install
. This will install all dependencies. - Run
npm start
.
- Go to front-end folder with
cd front-end
on your terminal. - Create
.env
file and pasteREACT_APP_PUBLIC_FOLDER = http://localhost:8800/images/
. - Run
npm install
. This will install all dependencies. - Run
npm start
.
This will start your app on http://localhost:3000/
.