- Node.js: Ensure you have Node.js installed on your system. You can download it from nodejs.org.
- Package Manager: npm (comes with Node.js) or yarn (can be installed globally using npm).
-
Navigate to the Project Directory
- Open your terminal or command prompt and navigate to the directory where you have the project.
cd (path/to/your/vite-react-project)/portfolio/frontend
-
Install Project Dependencies (only when inside frontend folder install dependencies)
npm install
-
Start the Development Server
npm run dev
-
Open the Project in Your Browser
commonly http://localhost:5173
-
To Build the Project for Production
npm run build