Git Product home page Git Product logo

clone-hero-chart-db's People

Contributors

gitter-badger avatar jacoby6000 avatar uglyfigurine avatar

Stargazers

 avatar

Watchers

 avatar  avatar

clone-hero-chart-db's Issues

Parse config files, storing results in the database

A structure like below should represent the data perfectly:

case class IniKey(k: String)
sealed trait IniValue
case class IniString(s: String) extends IniValue
case class IniSection(k: String)

type IniFile = Map[Option[IniSection], Map[IniKey, IniValue]]

With some methods for helping pull things out of the ini data.

IniValue sealed trait is just in case we need support for more than just strings.

Chart analysis

Add ability to read chart files and do arbitrary analysis.

Improve Database Error Handling

Specifically, unique key constraint failures need to be handled better. There are likely others, but not sure which ones should be explicitly dealt with.

Chart Pattern Identification

Look at sections of the chart and determine what patterns it uses often. Things like trill, rolling hopos, two-handed taps, etc;

Querying API

The public API should be simple get routes that don't provide searching in any fashion. Things like:

/api/v1/charts/<id>
/api/v1/artists/<id>/songs/by-name/<name>
/api/v1/artists/by-name/<name>/songs/by-name/<name>

The private api will support proper querying, like you'd expect:

/api/v1/songs?query=name;like;*foo*
/api/v1/songs?query=genre;eq;Progressive Djent Metal

queries will be composable so that users may specify additional conditions.

Responses will look something like:

{
  "songs": [
    {
      "id": "some-uuid-thing-here",
      "name": "song-name",
      "artist": "song-artist",
      "genre": "song-genre",
      "charter": "charter",
      "lastUpdated": "Some ISO date",
      "firstSeen": "Some ISO date"
    },
   ...
   ]
}

genre, charter, and artist are optional fields, and will not be present if they could not be determined.

Another route will be provided, such that ini file data can be fetched when given a song id.

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.