DEV Community

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

Collapse
 
jasterix profile image
Jasterix

Thanks, Diane! To start, I would like to build this as a single page application first. What would be the best way to handle storage?

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.