Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nelcifranmagalhaes/subscribe_taxes_api
A application to calculate taxes on shopping products
https://github.com/nelcifranmagalhaes/subscribe_taxes_api
ruby-on-rails shopping taxes
Last synced: 19 days ago
JSON representation
A application to calculate taxes on shopping products
- Host: GitHub
- URL: https://github.com/nelcifranmagalhaes/subscribe_taxes_api
- Owner: NelcifranMagalhaes
- License: mit
- Created: 2024-04-25T16:24:55.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-25T17:44:03.000Z (8 months ago)
- Last Synced: 2024-04-26T17:38:31.723Z (8 months ago)
- Topics: ruby-on-rails, shopping, taxes
- Language: Ruby
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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**- Install [ruby](https://www.ruby-lang.org/pt/)
- install [rails](https://rubyonrails.org/)
* **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](http://localhost:3000/shoppings)
> 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](utils/api_rquest_helper.png)
- `products` (**ARRAY**)
- `name`(**STRING**)
- `product_price`(**FLOAT**)
- `product_quantity`(**INTEGER**)