Coder Social home page Coder Social logo

ginatra's People

Contributors

cowbellerina avatar nathandao avatar rihards-exove avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

rihards

ginatra's Issues

Add optional Redis store

Currently, commits are stored and read from files. Support for using Redis as data store as an option can boost up performance especially when there are many repositories.

What I have in mind at the moment:

  • Add "redis" option in config.yml, which takes the redis database url.
  • If "redis" is defined and valid, use redis data store instead of file storage.
  • How commits are stored in redis is still debatable :)?
  • The 2 functions that are handling writing and retrieving commits data are Ginatra::Repository.get_commits and Ginatra::Repository.create_commits_data

Create rack task to set up demo front-end dashboard

As the use for our front-end dashboard varies depending on designs, layouts and requirements, it'll be useful to separate front-end completely and provide an optional demo or boilerplate front-end (most likely a ReactJs app) as an option through rack task. Something like rack ginatra:demo_app

Provide Ginatra as a gem

Restructure Ginatra code base so it cae be bundled as a ruby Gem.

This way, getting a Ginatra dashboard up and running can be as easy as:

gem install ginatra
ginatra install demo_app
cd demo_app & bundle install
bundle exec rackup

Documentation for Web API

Need documentation for all the Web API.

In most cases, the get parameters can be in, by, from, till, and also "limi" once the limit parameter (mentioned in issue #8) is implemented.

Separate client-side application

The client-side application could be separated into a repository of its own, e.g. ginatra-client.

Should the existing application be transferred, or should we start with a clean slate? What say you, @nathandao ?

Latest commit message for each repo

In order to do this, we'll need to add an additional "limit" params to the api.

  • From my first iperssion, since the web API passes all params through to Ginatra::Repository, we'll only need to add the "limit" param option there.
  • Once the web API is available, add an additional row to the RepoInfo react component to pull the latest commit message (possibly with author name as well?)

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.