Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Install and Use Sequelize CLI

Kevin S
seal-mask
.a{fill-rule:evenodd;}techdegree
Kevin S
Data Analysis Techdegree Student 15,862 Points

Is Andrew Using an Advanced way of creating the sqlite database? What are the Advantages?

HI all,

I am currently learning sequelize, and am using this tutorial along with other tutorials I am following from Youtube. One tutorial, in particular, at this url https://www.youtube.com/watch?v=6NKNfXtKk0c uses a much simpler way of importing a particular db by just running a command that is listed on the docs for sequelize: npm install --save mysql. Andrew seems to have sqlite3 installed using that cli, and it is not on his package.json file. Rather the cli creates several files. Is there advantages to this? it seems to be a vastly different way of installing a db onto your project. Is it because he already has the db set up using express? is it a more advanced way of doing it?

What are your thoughts on these two ways of creating the databases.