Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
jin-co committed Nov 8, 2023
1 parent e1dde2f commit 59737c9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
19 changes: 19 additions & 0 deletions React/test-feed/db.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"Feed": [
{
"id": 1,
"rating": 10,
"text": "Lorem ipsum dolor sit amet consectetur adipisicing elit. consequuntur vel vitae commodi alias voluptatem est voluptatum ipsa quae."
},
{
"id": 2,
"rating": 9,
"text": "Lorem ipsum dolor sit amet consectetur adipisicing elit. consequuntur vel vitae commodi alias voluptatem est voluptatum ipsa quae."
},
{
"id": 3,
"rating": 8,
"text": "Lorem ipsum dolor sit amet consectetur adipisicing elit. consequuntur vel vitae commodi alias voluptatem est voluptatum ipsa quae."
}
]
}
3 changes: 2 additions & 1 deletion React/test-feed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"server": "json-server --watch --port 4040"
"server": "json-server --watch db.json --port 4040",
"dev": "concurrently \"npm run server\" \"npm start\" "
},
"eslintConfig": {
"extends": [
Expand Down

0 comments on commit 59737c9

Please sign in to comment.