-
Clone the repository
Open your terminal and run the following command to clone the repository:
git clone https://github.com/quang08/pricetracker.git
-
Navigate to the project directory
cd pricetracker
-
Install the required packages
The project requires several packages to be installed. Run the following command to install them:
npm i
-
Set up the environment variables
The project requires the MONGODB_URI environment variable to be defined. You can do this in a
.env
file in the root of your project:MONGODB_URI=your_mongodb_uri
-
Start the server
Run the following command to start the server:
npm run start
Access the project at http://localhost:3000
.