This project was created as a coding challenge for Portrait.
- Ruby on Rails 6.0.4.7.
- CircleCI.
- Heroku.
To get a local copy up and running follow these simple example steps.
- Clone the repository by using
git clone [email protected]:davidauza-engineer/portrait_api.git
.
- Move to the root directory of the project by using
cd (path of the project)
. - Run
bundle install
to install the required dependencies. - Run
bundle exec rails db:create
to create the databases needed. - Run
bundle exec rails db:migrate
to migrate the databases.
- To run the rails server run
bundl exec rails s --port 3001
.
We'll be using the port 3001
so we can correctly connect with the Portrait Client.
- To run the tests simply run
bundle exec rspec
.
The application is currently deployed on Heroku. Contact me if you want to deploy an specific version.
👤 David Auza
- GitHub: @davidauza-engineer
- Twitter: @davidauzaeng
- LinkedIn: David Auza
Contributions, issues, and feature requests are welcome!
Give a ⭐️ if you like this project!
- Thanks to the Portrait team for allowing me to participate in this challenge.