/sequelize-sqlite-starter

Starting point for creating Node APIs that use Sequelize and SQLite

Primary LanguageJavaScript

##Getting started:

  • Clone or download the repo.
  • Navigate to the folder via your terminal and run npm install.
  • npm start and the API will start running on port 8019

###Once you're started:

  • Add data.sqlite to your .gitignore so your data file is not pushed to your repo

##The Data

This repo has a database file with three todo for you to get started with.

If you'd like to start fresh, to the following:

  • delete the data.sqlite file
  • cd into /server
  • run sequelize db:migrate
  • cd .. back into main folder
  • npm start and the port the API runs on is 8019