GithubHelp home page GithubHelp logo

modstore's Introduction

Citybound

Citybound is a city building game with a focus on realism, collaborative planning and simulation of microscopic details. It is independently developed, open source and funded through Patreon.

modstore's People

Contributors

aeplay avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

chances ofek-a

modstore's Issues

Datastore requirements for mod data and metadata

Modstore Data Requirements

Data Objects / Sources

(Copied from Data Objects / Sources in the README)

A Mod Archive

Manifest

  • Name
  • Version
  • Game Version Compatability
  • (Dependencies)

README.md

  • Description
  • Tags (standardized format?)
    • for example
    • Link to issue tracking if any

CHANGELOG.md

  • Tertiary assets (In a special folder?)
    • Screenshots

Database Records

Mod

  • Number of downloads
  • Ratings (see below)

Mod Rating

  • Star Rating? Or just thumbs up/down?
  • Rating date
  • Rated version of the mod (user has to know?)
  • Rating text
  • Submitter name (optional)
  • Rating Screenshots?

Cross-platform Compilation Service

Cross-platform binary downloadables

Database Solutions

Both Mongo and Postgres offer the same solution, but Postgres affords stronger consistency guarantees. However, if high availability is a concern, then Mongo could be a good choice despite its potential for inconsistency.

Mongo Considerations

Mongo is still "eventually consistent."

This jumps out as a disadvantage to choosing Mongo: "Reads from secondaries can be useful in scenarios where it is acceptable for data to be slightly out of date."

It seems necessary that records for mod dependencies should never be out of date as this could complicate mod downloading/installing. If a request for a group of dependencies for a particular mod yield out of date results, this could impact the performance of the server because it would then have to try again to get a required version of a dependency a second (or more) times.

Postgres Considerations

Is Postgres NoSQL Better Than MongoDB?

TBD

Questions

  • How are mod archives stored?
  • Do mod archives include its manifest? Tentative yes?
  • What (other?) specific data needs to be stored about a mod for the modstore?
  • What kind of data consistency guarantees need to be made about mod data and metadata?

Mod Archive Storage

  • Will mod archives be stored in something like Amazon's S3 storage?
    Amazon's S3 Consistency Model (S3 is eventually consistent)
  • Will the app use GitHub's release archive feature for mods available through GitHub?

High Level Goals and Requirements

(Copied from the README)

The Citybound Modstore

A webapp to discover, rate and publish mods for Citybound.

Goals

  • CRUD for Mods
    • Augmented: Submit, publish, unpublish, update, and delete mods
  • Browse Mods
  • Mod API
  • User Management
  • Moderation/Curation of Mods
  • Security

Others TBD?

Tooling

  • Backend
    • node.js? Express?
    • DB? (See #3)
  • Frontend:
    • React?

Functional Requirements

CRUD for Mods

CRUD operations performed by users to submit, publish, unpublish, update, and delete mods.

  • Only authenticated users may submit mods
  • Mod data and metadata

Questions

  • What is mod data and metadata? (See #3)
  • How are mods submitted?
  • How are mods updated?
  • What kind of version management should the modstore maintain, if at all?
  • Should mods be able to be deleted on a whim?

Browse Mods

  • Search for mods by:
    • Name
    • Keywords
    • Author/Creator (Contributors?)
    • Popularity
    • Date
    • Etc?
  • Discover mods curated by moderators
  • Rate mods

Questions

  • What kind of rating system should be maintained? (See #3)

Mod API

An interface to the modstore's Browsing features.

Questions

  • How much of the modstore's features will the Game Client make use of?
    • Limited to simply Search, Update, and Install?

User Management

  • Registration
  • Login/Logout
  • Change password/password reset
  • Profile?
    • Gravatar photo?
    • Biography?
    • Location?
    • Age?

Questions

  • Login integrations with popular services like Google, Facebook, GitHub, etc?

Moderation

  • Manual review of submitted mods?
  • Curate individual and lists of mods
  • Promote featured mods
  • Manage and respond to report of abuse and policy violations

Questions

  • Different roles for moderators? (e.g Editor/Curator vs. Maintainer/Abuse Mitigation)
  • What are the modstore's policies?
    • Terms of Service?
    • Abuse Resolution Policy?

Security

Questions

  • Assuming malicious intent, what content should be allowed?

Others TBD

Nonfunctional Requirements

  • Reliable availability/uptime
  • Terms of Service?
  • Privacy Policy?
  • Cookie Policy?
  • Abuse/Conflict Policy?

Others TBD

Questions

  • What are the main goals of the Modstore?
  • What kinds of guarantees does the Modstore make for its clients?
  • How should the the name be stylized? modstore, Modstore, or ModStore?
  • Is the name final? (Should we spawn a new issue?)
  • How will the webapp be required to scale?
  • Other requirements?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.