Get Started

How to deploy CyberMail locally

Clone Repository

SERVER

Get a MongoDB URI

Create a MongoDB Atlas Cloud Account and get a URI to connect to the database.

Create a .env file

Create a .env file in the server root directory with index.js

The env file should include the MONGO_URL

Insert your username, password and cluster name in the URI where [USER] , [PASSWORD] and [CLUSTER] are located.

MONGO_URL = "mongodb+srv://[USER]:[PASSWORD]@cluster0.jrbh4.mongodb.net/[CLUSTER]?retryWrites=true&w=majority"

Install dependencies for the server

npm install

Start the server

npm start

CLIENT

Install Dependencies

npm install

Start Client

npm start

Last updated