DEV Community

Null
Null

Posted on

1 1

Questions about URLs, objects and storage

I am working on an application where people can create item builds for a video game. I want people to be able to save and share the builds.

The item builds will be generated by the user selecting different items and then the item build will be turned into a JavaScript object and I need a way to save the object and make it a sharable URL.

I could use local storage for saving the object to the users browser and make it sharable by generating a base64 string that you can share with people but since I am using tools like Svelte, Sapper and Node I feel like that solution is too cheap.

Since I am fairly new to developing with Node modules I don't know about many packages that could help me in this case.

So I want to ask you, the DEV Community, if there is any other simple approaches I can make. I am trying to avoid using a back-end as I want it to be a front-end app.

If you need an example about what I am talking about, here is a React app that does basically the same thing I want to do.

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay