This project is intended to test basic skills in Rails framework and good practices in programming.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Rails >= 5.0.2
- PostgreSQL >= 9.5.6
- Clone the repository
git clone git@github.com:yaselc/rails-challenge.git
- Set environment variables
$> cd rails-challenge
$> cp example.env .env
$> nano .env
and set all environment variables in .env file
- Create database, run migrations and load initial data
$> bin/rake db:create
$> bin/rake db:migrate
$> bin/rake db:seed
- Install dependencies
$> bundle install
- Now you are set to run the server
$> bin/rails server
Start server for test environment
$> bin/rails server -e test
In another terminal, run tests
$> bin/rake
- WebServices: Try on PostMan
- Heruko deploy Go
You can check Swagger documentation for both webservice included in project. Also the source code to build a gem that serve as Client for this REST services can be download from this documentation page.
- WebService1 - Proxy REST service to verify user email
- WebService2 - Backend REST service to verify user email
Check documentation to deploy to Heruko
- Yasel Couce
This project is licensed under the GNU GENERAL PUBLIC License - see the LICENSE file for details