-
Clone this repository or fork it.
- To clone this repository type
git clone https://github.com/Ak-Srivastav/real-estate.giton your command line - To fork this repository, click fork button of this repository then type
git clone https://github.com/<your username>/real-estate.git
- To clone this repository type
-
Inside your project folder, create a new file named
.envwhich stores informations about server side such asMONGO_URI,JWT_SECRETandPORTinformations- store your database URI inside
MONGO_URIvariable - store your security key inside
JWT_SECRETvariable - example:
MONGO_URI = mongodb+srv://<username>:<password>@<collection_name>.<providedbymongodb>.mongodb.net/ (MongoDB Atlas) or MONGO_URI = mongodb://127.0.0.1:27017/realestate (MongoDB Compass) JWT_SECRET = Thisisanexampleofjwtsecretkey PORT = 3000 (Default) set the same port in project/client/vite.config.js - store your database URI inside
-
Inside
clientfolder, create a new file called.envwhich stores your information about client side such asAUTH_DOMAINandMESSAGING_SENDER_IDinformations. Example is given.- store your security keys inside variables
- example:
VITE_FIREBASE_API_KEY = Akjfhjjhgj5j409ig_fkjhgjj4ht9HJj AUTH_DOMAIN = your-project-name.firebaseapp.comm PROJECT_ID = your-project-name STORAGE_BUCKET = your-project-name.appspot.com MESSAGING_SENDER_ID = 6039583758492 (Yours) APP_ID = 2:6346565456543:web:7939t8vn2jjt5g83gj94u5t4 -
Install all dependencies
- Client side: on the
clientdirectory typenpm install - Server side: on the
projectdirectory typenpm install
- Client side: on the
-
Run it on node js:
- Client side: on the
clientdirectory typenpm run dev - Server side: on the
projectdirectory typenpm start
- Client side: on the
Ak-Srivastav/real-estate
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|