- Install packages :
npm install
- Setup .env file with following variables
- MYSQL_HOST=""
- MYSQL_DATABASE=""
- MYSQL_USER=""
- MYSQL_PASSWORD=""
- Run
node index.js
- Open browser and you can run a setup of Table and seeding of data with this url:
http://localhost:3001/api/init
- You should be able to get all products data (dummy data) through
http://localhost:3001/api/get-products
-
Notifications
You must be signed in to change notification settings - Fork 0
harshrajk/pocnodebackend
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