This repository demonstrates the usage of Sequelize within an Express application. The implemented logic is a simple task tracking tool.
npm install. npm start.
This will start the application and create an mysql database in your app dir. Just open http://localhost:3000.
In order to understand how this application has been built, you can find the executed steps in the following snippet. You should be able to adjust those steps according to your needs. Please note that the view and the routes aren't described. You can find those files in the repo.
And finally you have to adjust the config/env.js to fit your environment.
Once thats done, your database configuration is ready!