Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Server.js file #43

Closed
13 tasks done
crowandrew opened this issue Oct 20, 2020 · 0 comments · Fixed by #70 or #78
Closed
13 tasks done

Build Server.js file #43

crowandrew opened this issue Oct 20, 2020 · 0 comments · Fixed by #70 or #78
Assignees
Labels

Comments

@crowandrew
Copy link
Collaborator

crowandrew commented Oct 20, 2020

As a developer
I need a server.js file
So that I can launch my app

Acceptance Criteria

  • require express
  • require db ./models
  • declare app as express()
  • set public assets folder app.use(express.static("public"));
  • add app.use(express.urlencoded({ extended: true }));
  • add app.use(express.json());
  • require handlebars
  • require routes to controller
  • declare port var PORT = process.env.PORT || 8080;
  • add port listner
  • add sequelize
  • verify that it works locally
  • commit changes
@crowandrew crowandrew added this to the Build Back End milestone Oct 20, 2020
@lbcessna lbcessna self-assigned this Oct 21, 2020
This was linked to pull requests Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants