https://github.com/hasanali112/product-management-server
https://github.com/hasanali112/product-management-server
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hasanali112/product-management-server
- Owner: hasanali112
- Created: 2024-05-29T19:41:14.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-31T12:42:50.000Z (about 1 year ago)
- Last Synced: 2024-12-30T04:30:03.454Z (5 months ago)
- Language: TypeScript
- Size: 56.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to run the application locally
#### There are few step follow run application locally.
Step 1: Install the neccessary dependency for create project like express and other package.
Step 2: Now create server and stucture the file and folder.
Step 3: Open terminal run the comman node "server file name". Example: node server.js . Here in this appliction we run node ./dist/server.js. This command open the application localhost:5000 url. But this this command have some problem. When need to change code it does not change autometic, required every time server on and off for running update code.So, we avoid repetitive work, and for this reason, we need to install a nodemon for the automatic changing of the of the watch. and run the command nodemon file name. In this application, nodemon ./dist/server.js
#### For github clone project
Download as a zip file or run the command on the terminal: git clone http url. When complete, download the zip file, extract it, or clone it and open it with a code editor, then install the dependency. So run the command npm install and follow step 3.