chicken-sloths / bangazon-api-sprint1

API for a mock Amazon + Etsy platform providing developers access to the company's employee & product data
0 stars 0 forks source link

Initialize app.js #32

Closed DavidLarsKetch closed 6 years ago

DavidLarsKetch commented 6 years ago

Context

  1. app.js runs the whole API, it will call routes, insert middleware, handle request errors
  2. app.js should be in root

Process

  1. Completing this ticket means: (1) initializing the app with express; (2) server listens on PORT: 8080, console.log something to show it is successfully listening; (3) requires routes/index.js

Expected Result

  1. node app.js should return a success message to the terminal
DavidLarsKetch commented 6 years ago

Do we want to use .env as well?