![]() It observes changes in project files and modules and restarts the server as soon as any change occurs. It’ll save us from restarting the server every-time we make the changes in the project. npm install -save express mongoose cors body-parser In next step, we are installing required npm modules to create RESTful APIs. Git repository : (https : ///SinghDigamber/node-express-rest-api)Īuthor : Digamber Rawat (https : //positronx.io) ![]() You will be asked following questions along with entry point we are using server.js but you can name it anything you want: npm init name : (node-express-rest-api) Run npm command to initialize the project via Node js, as soon as you enter the command. Mkdir node-express-rest-api & cd node-express-rest-api
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |