DEV Community

Discussion on: Does every backend need to be an API?

Collapse
 
petersonryan profile image
Ryan Peterson

If you need to handle storage for just the user on the device, you can use JavaScript localStorage. It is built in to every browser and is easy to use.
If you need to share data between users then you will need to use something that runs not on the users device. This could be an API, or a cloud solution like Firebase or AWS. Firebase is pretty easy to use.