Comments (4)
We would only host the default data, not the user's progress. It sucks that Heroku has turned off their free-tier but there are still free alternatives. But yes, I agree with you completely. We should probably be fine just having simple numerical IDs as well, but nanoid is a good alternative!
from orion.
Yeah I assumed the default would be fine by itself, but didn't want to assume that would be all you would want to do!
I had ideas previously for other apps of wanting to be able to store user progress anonymously as a shared "magic link" style system, where a user would have a store ID assigned to them when they began saving progress, then that would be parsed into maybe their unique progress "link" in another URI which would be a super simple document store which could be accessed by any client with the ID and sync up/share progress. It wouldn't inherently link any user data to any person (avoiding legality and complexity for things like user profiles), but would still give people a way to share progress between clients (i.e. web, tablet, mobile, or even between users)
from orion.
To be fair, hosting a DB is taking everything to the next level and incurs additional complexity (storing and deploying secrets, managing DB uptime and query speed), cost and legality (storing user data, keeping it "anonymous", GDPR etc) which I've always tried to avoid with side projects and never actually got around it doing in most cases. And because most recently heroku have stepped down from offering DB hosting, it's clear that the market for free DB hosting is getting less, soon we might not have much choice for free DB hosting at all.
So since this app will only have a fixed number of camouflages in it's lifetime, I would suggest keeping with the fixed file storage you already have.
In terms of ID's, we wouldn't really need to auto-gen them on every add (how often would that really be anyway? maybe 1-2 new weapons per quarter, maximum?), we can generate them in bulk and attach them to the data models manually. In the past I have used an ID system like nanoId to generate really small (5-6 character long), user friendly IDs that aren't a hassle and still have a miniscule chance of duplication.
from orion.
If a worry is contribution and making it easy, I know it sounds stupid but something as simple as google sheets is actually an option. Probably the simplest solution next to a normal document store. I wouldn't use an SQL DB for this really, there's not enough complexity in the entity relationships to justify it.
from orion.
Related Issues (20)
- [Missing Data] HOT 2
- [s06] Add camo data for S06 weapons
- Remove DOOM Chainsaw from the list since it's just a Pickaxe skin HOT 2
- [Bug] - Missing Newest Season's Challenges HOT 1
- Your error stating that comingSoon isn't defined on https://orion.emca.app HOT 2
- Optimisation required for latest calling cards HOT 1
- Incorrectly Named Calling Card Images Causing Non-Load (Green Box) HOT 2
- Prestige Calling Cards missing default state - not selectable HOT 2
- [Bug] Translation not used from json file
- [Bug] Relative date in completion dialog is incorrect HOT 1
- [Bug] HOT 2
- [FEATURE] Calling Card Tracker HOT 10
- [Bug]
- [Bug] HOT 1
- [Request] Add weapon mastery tracking HOT 1
- [Bug] Camos HOT 3
- Suggestion - Highlight favorited camos on weapons screen HOT 2
- [Bug] HOT 1
- .editorconfig for easier contribution HOT 1
- Add Season 5 Weapons HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orion.