Skip to content

Latest commit

 

History

History
36 lines (33 loc) · 767 Bytes

README.md

File metadata and controls

36 lines (33 loc) · 767 Bytes

D&S

D&S is a fully-featured web application, built with the MERN stack.

Installation and usage

  1. Clone this repository
git clone https://github.com/ayush-aks/DNS
  1. Install dependencies
npm install
cd client
npm install
  1. Create .env in root directory
cd ..
touch .env
  1. Configure environment variables in your new .env file. To acquire your MONGO_URI, create a cluster for free over at https://www.mongodb.com/. The TOKEN_KEY is a secret key of your choosing, you can generate one at this site: https://randomkeygen.com/.
MONGO_URI=<YOUR_MONGO_URI> 
TOKEN_KEY=<YOUR_TOKEN_KEY>
PORT=4000
  1. Run the server
npm run server
  1. Start a new terminal and run react's development server
cd client
npm start
```ok