- Make sure you have NodeJS installed on your machine (NodeJS Installation)
- Open Terminal / Command Prompt and navigate to the directory where you want to save this repository by using
cd
command. - Clone this repository:
git clone https://github.com/Arman2409/store-pogos.git
- Navigate into the cloned directory:
cd store-pogos
- Install all dependencies by running
npm install
-
Add .env file in the root of the project and add the following environment variables
DATABASE_URL - MongoDB database url
EMAIL_USERNAME - Email username for sending digital receipts
EMAIL_PASSWORD - Email password
PORT - port address for running the project
-
migrate the database using command
npm run migrate
- run development server with command
npm run dev