Follow these steps to set up and run the project on your local environment:
-
Install Node.js
Download and install the latest version of Node.js if it’s not already installed on your system. Node.js includesnpm, which is used for managing dependencies. -
Clone or Download the Project
If you haven’t done so already, download or clone the project to your local machine.git clone <repository-url> cd <project-folder>
-
Install Dependencies
npm install # or yarn install # or pnpm install # or bun install
-
Run the Development Server
Start the development server with one of the following commands:npm run dev # or yarn dev # or pnpm dev # or bun dev
-
View the Project
-
Modify the Environment File
Follow these steps to update the env.local file:- Open the file.
- Add your
API KEYandPROJECT ID. - Rename the file to
.env.local
-
View the Project
Open your browser and navigate to http://localhost:3000 to view the application. The server will automatically reload if you make edits to the code.