Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ymaril/trading-simulator-api
- Owner: Ymaril
- Created: 2022-07-12T07:37:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T08:47:32.000Z (about 2 years ago)
- Last Synced: 2024-11-07T15:25:41.188Z (3 months ago)
- Language: Ruby
- Size: 92.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```