Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions backend/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PORT=5000
MONGO_URL=mongodb+srv://<username>:<password>@whyrugay.v4wp0gj.mongodb.net/?retryWrites=true&w=majority
19 changes: 19 additions & 0 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## How to Run

create a account in mongoDB and create a cluster [link](https://www.mongodb.com/).

<img src="./readmepics/ss1.png"></img>
<img src="./readmepics/ss2.png" height="600px"></img>
<img src="./readmepics/ss3.png" height="600px"></img>

create a .env file under backend folder./

<img src="./readmepics/ss4.png"></img>

add the url and port in .env file./

<img src="./readmepics/ss5.png"></img>

if you get errors like PORT 5000 is already in use <br>
Try changing PORT in .env and ./frontend/src/context/globalContext.js files

## Available Scripts

In the project directory, you can run:
Expand Down
Binary file added frontend/readmepics/ss1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/readmepics/ss2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/readmepics/ss3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/readmepics/ss4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/readmepics/ss5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.