G
G
g00dv1n2016-09-08 18:37:31
JavaScript
g00dv1n, 2016-09-08 18:37:31

Do you have a best practices example of a simple CRUD OOP-style Node.js + Express.js application with all the ES6 features?

We need an example of a reference application, without the use of heavyweight frameworks.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
Dmitry Guryev, 2016-09-15
@djsv

Try angular-fullstack.github.io/generator-angular-fullstack

S
sugadu, 2016-09-08
@sugadu

The principles are the same everywhere. Generate an initial workpiece with an express generator. Add controllers, models, maybe even services and helpers. And vuya-la, here is the application itself for best practice.

A
Alex, 2016-09-09
@mr_ko

Today, a post was published on Habré https://habrahabr.ru/post/309466/
Maybe not exactly the same, but in this direction.

V
Vladislav Khvostov, 2016-09-15
@vlakhvo

You can hardly find it on express and ES6, express is a slightly outdated framework, no one will cut best practices on es6 for it, only legacy on 5, if you are interested in ES6, you need to look towards koa.js. But unfortunately, koa will not give what express has out of the box (templates, routing)

Y
yogurt1, 2016-09-15
@yogurt1

github.com/nauchcrug/backend
The most common CRUD, in deep development, unfortunately there is no time for development and everything is worth
Working with the database through the pg-promise library, data validation through JSON Schema and Ajv Frontend
- AdminLTE template, jQuery
Implemented in Node6 ES6 almost completely, only Object spread and import/export are missing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question