2

what i'm trying to do is create a local database for user so when he adds an item to shopping cart it gets stored in there, and that database should be local and also unique for every user and basically it's based on they're Api_key so i was wondering what technologies should i use to create that database.

/// what i have tried to do

basically i tried storing the data's in localStorage of the browser but in this case it's no use.

1

2 Answers 2

1

What are you actually trying to achieve here? There are things like lowdb, but I don't think that's what you are after.

Sign up to request clarification or add additional context in comments.

2 Comments

See basically it's gonna be an online supermarket with products, and each time the user clicks on adding the product, the shopping cart that is our data base in this example should be updated with the values, so be to as basic as possible it's gonna be a shopping cart that the user could see the item's he has added to it
You will most definitely need a backend for that. If you are not into that you can go serverless with Firestore.
0

sounds like what you're looking for is a cookie. npm package

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.