Looksout is a web application built using the MERN (MongoDB, Express.js, React, Node.js) stack. It allows users to navigate through the full-stacked website seamlessly.
-
Clone the repository:
git clone <repository_url> -
Navigate to the frontend folder:
cd frontend -
Install dependencies:
npm install -
Create a
.envfile in the frontend folder with the following content:REACT_APP_BACKEND_URL=http://localhost:8080/ -
Run frontend
npm start
-
Navigate to the backend folder:
cd backend -
Install dependencies:
npm install -
Create a
.envfile in the backend folder with the following content:MONGODB_URI=mongodb+srv://<username>:<password>@lookscoutcluster.vck7iwl.mongodb.net/LookscoutDB?retryWrites=true&w=majority&appName=LookscoutCluster FRONTEND_URL=http://localhost:3000 -
Run backend
npm run dev
- Choose
Create React Appas the project type. - Point Vercel to the frontend folder.
- Configure environment variables (as above).
- Deploy!
- Choose
Otheras the project type. - Point Vercel to the backend folder.
- Configure environment variables (as above).
- Deploy!
Remember to replace the placeholders (<repository_url>, <username>, <password> etc.) with the actual values relevant to your project.
© 2024 RaaZ Khanal
raazkhnl@gmail.com
