This is a portfolio application that allows others to see your work worldwide.
- Node.js 16.x+ (https://nodejs.org/en/)
- Clone repo (if using Git).
- Open terminal (Ctrl+Shift+G).
cd your-project-name
.- Install dependencies:
npm install
oryarn install
.
- Create a MongoDB Atlas account (https://www.mongodb.com/basics/create-database).
- Create a cluster and database.
-
Add a `.env` file (root directory):
PORT=... MONGODB_URL=mongodb://your-username:your-password@cluster-endpoint:port/your-database?retryWrites=true&w=majority # Replace placeholders with your actual MongoDB Atlas connection details
**Important:** Don't commit the `.env` file! </pre> </li>
- Backend: `cd Backend; npm start`.
- Frontend: `cd Frontend; npm run dev`.
-
create a new file in the root of your backend with the name : "vercel.json" and add the following code in that
{ "version": 2, "builds": [{ "src": "./index.js", "use": "@vercel/node" }], "routes": [{ "src": "/(.*)", "dest": "/" }] }
How to reach me: riturajmahapatra@gmail.com