Classes schedule management application (API)
El Plano is a self hosted class schedule management REST API server built with Rails and based on JSON API specification.
- Ruby 2.6.5
- Rails 5.2.2+
- Postgresql 9.5+
- Redis 2.8+
Clone the repo.
git clone https://github.com/warshavski/elplano-api.gitMove into the project directory and install the requirements.
cd elplano-api && bundle installCreate and configure .env file.
mv .env.example .envSet up the database.
rake db:create
rake db:migrate
rake db:seedStart the application development server.
rails sInstall docker-compose.
Create and configure .env file.
mv .env.example .envMove into the project directory and start app via docker-compose.
cd elplano-api && docker-compose up -dRunning all tests.
bundle exec rspecRunning a specific test file.
bundle exec rspec ./spec/path/to/fileGenerate/Update API documentation.
bundle exec rspec spec/acceptance --format RspecApiDocumentation::ApiFormatterSee API documentation.
/documentation