r/reactjs •

Beginner's Thread / Easy Questions (May 2020)

[deleted] — view deleted post

0 Upvotes

401 comments sorted by

View all comments

1

u/badboyzpwns May 19 '20 edited May 19 '20

I have a list of items, people can add or delete items in it via PUT or DELETE requests. The list of items is shared with all my other components. It works fine!

I want to put it in my portfolio. But!I don't want users to change my database but I want to showcase that it works. It would suck to have a random person visit the site and then delete everything. Any workarounds for this? I disabled the add/delete items feature for now!

If it helps, i used redux too.

0

u/[deleted] May 19 '20

[deleted] — view deleted comment

2

u/badboyzpwns May 20 '20

Thank you!! an oAuth is a brilliant idea! I'll be impementing it!!