NehaAnand28 / calculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calculator app

  • Make a new folder called Calculator on your Desktop

  • Change Directory to this new folder

  • Inside the Calculator folder, create a new file called calculator.js

  • Set up a new NPM package

  • Open the project folder in VScode

  • Using NPM install the express module

  • Require express in your calculator.js

  • Setup express

  • Create a root route get method with app.get()

  • Send the words Hello World from the root route as the response

  • Spin up our server on port 3000 with app.listen

  • Run server with nodemon

About


Languages

Language:JavaScript 59.8%Language:HTML 40.2%