-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
87 changed files
with
40,189 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/.env | ||
/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# 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/dnsMain | ||
``` | ||
2) Install dependencies | ||
``` | ||
npm install | ||
cd client | ||
npm install | ||
``` | ||
3) Create .env in root directory | ||
``` | ||
cd .. | ||
touch .env | ||
``` | ||
4) 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 | ||
``` | ||
5) Run the server | ||
``` | ||
npm run server | ||
``` | ||
6) Start a new terminal and run react's development server | ||
``` | ||
cd client | ||
npm start | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
Oops, something went wrong.