Skip to content

NelcifranMagalhaes/subscribe_taxes_api

Repository files navigation

README

Rails API to calculate products taxes in a shopping.

  • System dependencies

    • ruby 3.3.1

    • Rails 7.1.3.2

    • (PostgreSQL) 14.11

  • Configuration

  • Database creation

    • rails db:create

    • rails db:migrate

  • Database initialization

    • rails db:seed
  • How to run the test suite

    • rails test
  • Notes

    You need to be able to send some request to API at localhost

    There is a file to help to test the API in utils/help.txt there we have the web request to copy-paste

  • API DOC

    Request Example

    • products (ARRAY)

    • name(STRING)

    • product_price(FLOAT)

    • product_quantity(INTEGER)

About

A application to calculate taxes on shopping products

Topics

Resources

License

Stars

Watchers

Forks