Check out example codes for "sequelize sqlite example". It will help you in understanding the concepts better.

Code Example 1

const sequelize = new Sequelize('database', 'username', 'password', {
  dialect: 'sqlite',
  storage: 'path/to/database.sqlite' // or ':memory:'
  dialectOptions: {
    // Your sqlite3 options here
  }
});

Learn ReactJs, React Native from akashmittal.com