This is a boilerplate of react native with context, provider, calling api with axios / json-server
{
"blogposts": [
{
"title": "test title",
"content": "test content",
"id": 2
},
{
"title": "8888",
"content": "88888",
"id": 8
}
]
}
"scripts": {
"db" : "json-server -w db.json",
"tunnel": "ngrok http 3000"
},
npm run tunnel
npm run db