Skip to content
loading...

re: Does every backend need to be an API? VIEW POST

FULL DISCUSSION
 

You don't need an API, and you completely can work fully static in a classical way.

REST is also probably completely overkill for your need (it is already overkill for like 80% of APIs).

 

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?

 

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.

code of conduct - report abuse