At this point, you may have noticed that we are not installing any database related dependencies. Great □□! Now your project is ready and you can start building the front- and backend used for handling the requests to the Spotify API. npm install -save axios Axios is a middleware that handles the requests to the Spotify API.npm install -save nodemon to restart the application automatically when you make a change in your code, Nodemon is a great tool to speed up development and I use it in all of my Node-based projects.At this point, you can run npm start and head to localhost:3000 in your browser to see the working application. npm install This will will install all the necessary dependencies for the initial application skeleton to work.express -view=pug This will create the application skeleton in your empty folder and set the view engine to pug.This will allow you to automatically create an application skeleton with the most important packages and routing already working out of the box. npm install -g express-generator to install the express framework application generator. ![]()
0 Comments
Leave a Reply. |