Step 1:
cd .\e-commerce-api\
Step 2:
npm i
Step 3:
(Type this command in a seperate terminal)
mongod
(Note: You need mongodb installed)
Step 4:
npm run dev
(In the previous terminal)
NOTE:
Create a config folder in root directory of teh project
Create a dev.env file in the config folder
Include the following environment variables:
JWT_SECRET= Any secret key of your choice, it may be any string
PORT= The port you want your project to run on
MONGODB_URL= Your mongodb server url
-
Notifications
You must be signed in to change notification settings - Fork 0
Jim1924/E-commerce_Backend_API
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published