Skip to content

Commit

Permalink
created seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
fredm23579 committed Apr 13, 2024
1 parent 92145b4 commit cee02aa
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 3 deletions.
27 changes: 26 additions & 1 deletion seeds/commentData.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,30 @@
"content": "WOW!!",
"creator": "freddy",
"post_id": 3
}
},
{
"content": "I love this post",
"creator": "admin",
"post_id": 1
},
{
"content": "Cool :)",
"creator": "coder",
"post_id": 2
},
{
"content": "I love this post",
"creator": "admin",
"post_id": 2
},
{
"content": "I love this post",
"creator": "admin",
"post_id": 3
},
{
"content": "Great post",
"creator": "fredm2",
"post_id": 1
}
]
17 changes: 16 additions & 1 deletion seeds/postData.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
[
{
"title": "Hi this is my new post from SoCal",
"content": "I'm currently in SoCal and I'm having a great time! I'm going to the beach tomorrow and I'm so excited!",
"creator": "fredm3"
},
{
"title": "I saw the eclipse!!!",
"content": "I saw the eclipse today and it was amazing! I took some pictures and I'll post them later.",
"creator": "fredm2"
},
{
"title": "Hello test",
"content": "This is a test post",
"creator": "admin"
},
{
"title": "Hello World!",
"content": "This is my first post! I'm in Cancun!!",
Expand All @@ -11,7 +26,7 @@
},
{
"title": "The Solar Eclipse",
"content": "Here is a link to a picture from Mazatlan Sinaloa",
"content": "Here is a link to a picture from Mazatlan Sinaloa https://en.wikipedia.org/wiki/Mazatl%C3%A1n_Sinaloa",
"creator": "Coder"
}
]
18 changes: 17 additions & 1 deletion seeds/userData.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
[
{
"username": "admin",
"password": "password12345"
},
{
"username": "fredm1",
"password": "abc12345678"
},
{
"username": "fredm2",
"password": "abc12345678"
},
{
"username": "fredm3",
"password": "abc12345678"
},
{
"username": "freddy",
"password": "password12345"
},
{
"username": "coderco",
"username": "coder",
"password": "password12345"
}
]

0 comments on commit cee02aa

Please sign in to comment.