H
H
HoHsi2015-10-11 13:34:12
JavaScript
HoHsi, 2015-10-11 13:34:12

Where can I see an example of a finished Express.js website?

Good day!
Where can I see a ready-made example of a blog/newsletter/forum/website/etc in Express.js? If there are open repositories, or perhaps you will agree to share your experience.
With the express API familiar, the task is to instill good taste in the correct architecture of the application and break it down according to the MVC pattern.
Sails, Keystone and other probe generators, but this does not give an understanding of the architecture.
Also now interested in:
* At what point to generate meta SEO (in Middleaware or in Model)?
* What logical parts to split view.
* How to make a digestible admin panel with hooks.
* What folder organization to use.
* What to shove in Model and what in Controller

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Kitmanov, 2015-10-11
@HoHsi

I do not consider it an ideal organization and architecture, but here is an example: https://github.com/madhums/node-express-mongoose-demo
You can see how authorization is done, how tests are screwed, how controllers go into the model, etc. There are also a couple of links from which you can also learn something.

S
Sergey, 2015-10-11
Protko @Fesor

breaking it down according to the MVC pattern.

a framework is not an architecture, it is a framework, a tool that solves common problems that developers have (for example, you need to file authorization, routing, etc.)
github

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question