Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Mayurifag/bets_accounting

:book: Better alternative to bets statistics spreadsheet. Built with Rails and Vue.js
https://github.com/Mayurifag/bets_accounting

dip docker docker-compose github-actions lefthook rails ruby vue

Last synced: about 2 months ago
JSON representation

:book: Better alternative to bets statistics spreadsheet. Built with Rails and Vue.js

Awesome Lists containing this project

README

        

![Build Status][build-badger]
[![Maintainability][maitainability-badger]][codeclimate-link]
[![Test Coverage][testcoverage-badger]][testcoverage-link]
[![License: LGPL v3][license-badger]][license-link]


Logo

Bets Accounting


Work in progress

# Getting Started

## Prerequisites
To start development server you need latest stable versions of `git`, `docker`,
`docker-compose` and [dip][dip-link] installed.

## How to start
1. Clone the repository ⬇️ `git clone [email protected]:Mayurifag/bets_accounting.git`
2. Enter project directory 📁 `cd bets_accounting`
3. Leave the rest of things to dip 😎 `dip provision`

## Entrypoints
* Frontend: [localhost:3333][frontend-localhost]
* Backend: [localhost:8888][backend-localhost]

# Tests

## Rspec

Just use `dip rspec` to launch `rspec` and get the spec coverage from
simplecov.

## Parallel tests for RSpec

If you want to use all the cores of your CPU for API specs, you may use
`make parallel`. Its not profitable due to small number of specs, though.

## Cypress

There are simple end-to-end tests, you may launch them with `make cypress`.

[build-badger]: https://github.com/Mayurifag/bets_accounting/workflows/CI/badge.svg
[maitainability-badger]: https://api.codeclimate.com/v1/badges/1d95ce316920a6a8228b/maintainability
[codeclimate-link]: https://codeclimate.com/github/Mayurifag/bets_accounting/maintainability
[testcoverage-badger]: https://api.codeclimate.com/v1/badges/1d95ce316920a6a8228b/test_coverage
[testcoverage-link]: https://codeclimate.com/github/Mayurifag/bets_accounting/test_coverage
[license-badger]: https://img.shields.io/badge/License-LGPL%20v3-gree.svg
[license-link]: https://www.gnu.org/licenses/lgpl-3.0
[dip-link]: https://github.com/bibendi/dip
[frontend-localhost]: http://localhost:3333
[backend-localhost]: http://localhost:8888