https://github.com/pratikrocks/quora-klone
This is an blogging website which uses React as frontend and MongoDB as database and Express as backend server product will be deployed soon.
https://github.com/pratikrocks/quora-klone
hackoctoberfest hacktoberfest2021
Last synced: 11 months ago
JSON representation
This is an blogging website which uses React as frontend and MongoDB as database and Express as backend server product will be deployed soon.
- Host: GitHub
- URL: https://github.com/pratikrocks/quora-klone
- Owner: Pratikrocks
- Created: 2020-04-10T04:12:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T12:59:08.000Z (over 3 years ago)
- Last Synced: 2025-06-03T11:34:55.674Z (about 1 year ago)
- Topics: hackoctoberfest, hacktoberfest2021
- Language: JavaScript
- Homepage: http://13.233.221.230:3000/
- Size: 3.82 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quora-Klone
This is an blogging website which uses React as frontend and MongoDB as database and Express as backend server.
The work is in progress.
To test this app:
- Clone this repository.
- cd node-backend
- create a .env file for process environment variables
MONGO_URL=
PORT=8000 (backend will run on port 3000, you may choose whatever you want)
JWT_SECRET=(add a secret key like) DAEDFSGRGERG532ETSDFHFD4LL32FWFWGERG3R4EFSHHFB
Now install the node modules :
- `npm i`
- `npm start` (backend server starts in destined port).
Now time to start frontend server:
- `cd ../react-front`
- create a .env file for process environment variables
REACT_APP_API_URL=http://localhost:3000 (choose different from backend server's address, else it auto directs to a different address :) )
Now install the node modules :
- `npm i`
- `npm start` (backend server starts in destined port).
Please feel free to create an issue and submit patches.
You can use the docker-compose to start the application
- `docker-compose up`