Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ymaril/trading-simulator-api

Simple Ruby on Rails Trading Simulator API
https://github.com/ymaril/trading-simulator-api

Last synced: about 1 month ago
JSON representation

Simple Ruby on Rails Trading Simulator API

Awesome Lists containing this project

README

        

# Trading Simulator API

Simple Ruby on Rails Trading Simulator API

## Swagger
Swagger specification is located at /api-docs/

## Admin credentials
[email protected]:12345

## Running

### Using docker-compose

```bash
cp secrets.env.template secrets.env
```
Update secrets.env file with api key for [https://fixer.io](https://fixer.io)
```bash
docker-compose up
```

## Develop

### Dev running
```bash
cp .env.template .env
```
Update .env file
```bash
bundle install
bundle exec rake db:setup
bundle exec rails s
```

### Run tests
```bash
bundle install
bundle exec rspec
```