Skip to content

riturajmahapatra/Portfolio-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 

Repository files navigation

Portfolio-2024

This is a portfolio application that allows others to see your work worldwide.

Prerequisites

Setup (VS Code)

  1. Clone repo (if using Git).
  2. Open terminal (Ctrl+Shift+G).
  3. cd your-project-name.
  4. Install dependencies: npm install or yarn install.

Configuration

  1. Create a MongoDB Atlas account (https://www.mongodb.com/basics/create-database).
  2. Create a cluster and database.
  3. 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>
    

Running (VS Code)

  1. Backend: `cd Backend; npm start`.
  2. Frontend: `cd Frontend; npm run dev`.

Running (in Vercel):

    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