cnsvr / pisano-api

Pisano API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PISANO ASSIGNMENT

Description

Pisano is a Customer Experience Management company. We achieve our goal by collecting feedback on our customers’ behalf and delivering meaningful reports for them. In order to find out your inclination towards our tools and domain, we are giving you a simple task that will collect feedback.

Built With

  • Ruby, Ruby on Rails
  • PostgreSQL
  • Docker

Installation

To run with Docker

It will serve on the http://0.0.0.0:3000

All endpoints are available at http://0.0.0.0:3000/api-docs (Username: pisano Password: pisano1234)

Testing

All tests are run by Github Actions.

To run tests locally

  • set the host as localhost on config/database.yml
  • comment out the username and password in config/database.yml
  • bundle install
  • rails db:create
  • rails db:migrate RAILS_ENV=test
  • bundle exec rspec

Coverage Report is available at /coverage/index.html

About

Pisano API


Languages

Language:Ruby 99.0%Language:Dockerfile 0.6%Language:Shell 0.3%