Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

[question] Is this a good starter for a Node API, or would it be over-complex? #57

Closed
quantuminformation opened this issue Dec 14, 2017 · 1 comment

Comments

@quantuminformation
Copy link

No description provided.

@bowdenk7
Copy link
Contributor

There are probably better starting points out there, but really you would just need to delete things from this starter. The biggest difference is that in each controller, instead of calling res.render and returning a page, you would just want to return json. You can easily do this using res.json.

Link: http://expressjs.com/en/api.html#res.json

@bowdenk7 bowdenk7 closed this as completed Jan 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants