![web app wrapper mongodb web app wrapper mongodb](https://1.bp.blogspot.com/-FFUpzQtGpiw/XJek-7oxA7I/AAAAAAAAF4I/4JeocNFOjMkxWcpRgitdvaot1fkXy_1-wCLcBGAs/s1600/herokudb.png)
Select and create a new OAuth client ID under Create Credentials button (You might be asked to Configure Consent Screen before creating a new ID, continue from step no. Go to the Credentials page from Apis & Services section from the left tab 4. Select the project you created from the dropdown on the header bar 3. Create a new project on google console Name the project of your choice 2.
![web app wrapper mongodb web app wrapper mongodb](https://dz2cdn1.dzone.com/storage/temp/14019286-mongodb-data-insertion-634x400.png)
We will need the OAuth client ID in Task1 implementation. To integrate Google OAuth, we need to generate an OAuth client ID on the Google developer console. Test the server by browsing on the web browser
#Web app wrapper mongodb install#
To install and run the application using nodemon npm install -g nodemon //To install globally npm install nodemon -save //To install only for this project nodemon app.js My recommendation to run the node server is to use the nodemon package because it restarts the server whenever there are changes in any of the project files. First of all, do the right setup before we run the NodeJS server cd server_back_end npm init //To initialise npm npm install express -save Create an apps.js file inside the above folder with the code mentioned on this link In this article, we will be running the NodeJS server on port 3001 because the ReatJS project is running on port 3000.Create a folder called server_back_end in our root directory.Let’s create the skeleton of the backend using the ExpressJS (framework built on NodeJS) by creating a server with an endpoint that serves us Hello World! Initial setup of NodeJS project (ExpressJS)