Skip to content

Commit 5881d10

Browse files
committed
Starting File Structure"
;
1 parent dc7b4de commit 5881d10

File tree

13 files changed

+2939
-1
lines changed

13 files changed

+2939
-1
lines changed

README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,22 @@
1-
# mysql-sequelize-review
1+
# mysql-sequelize-review
2+
3+
## Step 1
4+
In the MySQL shell, create a database called Welp
5+
Create a connection to database in database/index.js
6+
7+
## Step 2
8+
Create a Schema to describe our restaurant table, with at least 2 columns
9+
Run Schema file in terminal
10+
11+
## Step 3
12+
Create a seeding function in database/seed.js to fill your table with at least 5 restaurants
13+
Run your seed file
14+
15+
## Step 4
16+
Fill out the dbHelpers in database/helpers.js
17+
Connect the helpers to your controllers
18+
Test via Postman
19+
20+
## Step 5
21+
Refactor your model/helpers to use Sequelize
22+

database/helpers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// TODO

database/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// TODO

database/model.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// TODO

database/seed.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// TODO

0 commit comments

Comments
 (0)