Typeorm: Create real-world example how to use TypeORM with Express

Created on 25 Feb 2017  路  3Comments  路  Source: typeorm/typeorm

This should go into separate repository in typeorm organization, like typescript-example and javascript-example.

accepting PRs

Most helpful comment

All 3 comments

What is the requirements for minimum?
I'm ready to create such kind of example, but for koajs@2. If it interested and fits to this request.

yes I think good to have examples for both koa and express. Requirements are to fit best practices from koa and typeorm (Im going to guide you over last), create few entities for example Post and Category or Blog and Category and few controllers. Directory structure should be:

controller
entity
...
app.ts or index.ts

As base starter typescript-example should be taken.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

guscastro picture guscastro  路  3Comments

CocaColaBear picture CocaColaBear  路  3Comments

NoNameProvided picture NoNameProvided  路  3Comments

MichalLytek picture MichalLytek  路  3Comments

leixu2txtek picture leixu2txtek  路  3Comments