Open wcravens opened 2 years ago
Only need to replicate the functionality found here:
Start with Posts as it is the more functional.
wcravens@luna features % git grep 'client\.'
notifications/notificationsSlice.js: const response = await client.get( `/fakeApi/notifications?since=${latestTimestamp}` )
posts/postsSlice.js: const response = await client.get('/fakeApi/posts')
posts/postsSlice.js: const response = await client.post( '/fakeApi/posts', initialPost )
users/usersSlice.js: const response = await client.get( '/fakeApi/users' )
[ ] Wire the Redux toolkit tutorial up to PouchDB [ ] If necessary, explore the various redux-pouchdb libraries if we need more/advanced functionality that requires more build time.