For full instructions please see the codealong in Synapse!
- Create a new database
- Edit
.env
with your MySQL credentials and db name - Install node_modules with
npm install
in the root folder, where thepackage.json
file is - Create tables by running
npm run migrate
from the package.json scripts - After creating tables run
npm run seed
to populate the tables with data - Finally, start the project by running either
npm start
ornpm run dev
(to watch files for changes)