sequelize / express-example

A proposal for the usage of Sequelize within an Express.JS application.
MIT License
2.5k stars 773 forks source link

Starter kit not suited for newbies #73

Closed gaspaonrocks closed 4 years ago

gaspaonrocks commented 7 years ago

I write something here in hope that someone reads it.

I'm fairly new to developping in general, but I'm able to learn on my own.

Anyway it was a really difficult task for me to learn how to use sequelize for several reasons. The 'getting started' link in the docs never allowed me to get started... Then i came across the express-example that i had to debug for 3 days to really understand how everything worked.

What i'm getting at is this : i have written a very minimalist app to help understand how sequelize work with node/express and very minimal frontend (html/css/js). I also commented to explain everything inside. I hope to share it with everyone if they're interested.

The express example is very hard to understand, not to mention that jade is deprecated (as it is said during the npm install). And i'm sure that like me a lot of people learn frontend development, then backend (node in our case) so they never heard of jade/pug/ejs/ember templating. I didn't learn any of them and I just checked an article saying that AoT compilation tend to make server side templating less important...

In no way i am saying that the work put in the sequelize docs or the express-example is bad, maybe not tailored to people trying node/express/sql for the first time.

Thanks for reading.

papb commented 4 years ago

Hi @gaspaonrocks, I know several years have passed now but just to give an update for you and anyone that happen to stumble upon this:

gaspaonrocks commented 4 years ago

Hi @papb it has been a few years indeed. And going back I now understand how the example was conceived.

I'll check out the new version of sequelize. Thanks for the update.