github.com/mfinancecombr/finance-wallet-api
Readme
make setup
make run
http://localhost:8889/swagger/index.html
curl \
http://localhost:8889/api/v1/portfolios \
-X POST \
-H 'Content-Type: application/json' \
-d '{"name": "Default", "slug": "default"}'
curl \
http://localhost:8889/api/v1/brokers \
-X POST \
-H 'Content-Type: application/json' \
-d '{"name": "CLEAR", "slug": "clear"}'
curl \
http://localhost:8889/api/v1/stocks/operations \
-X POST \
-H 'Content-Type: application/json' \
-d '{
"portfolioSlug": "default", "symbol": "PETR4", "type": "purchase",
"brokerSlug": "clear", "shares": 500, "price": 10,
"date": "2020-04-24T00:00:00Z"}'
curl \
http://localhost:8889/api/v1/stocks/operations \
-X POST \
-H 'Content-Type: application/json' \
-d '{
"portfolioSlug": "default", "symbol": "PETR4", "type": "sale",
"brokerSlug": "clear", "shares": 100, "price": 15,
"date": "2020-06-30T00:00:00Z"}'
Favicon uses a picture from icon-library.com licensed under CC0 Public Domain Licence.
FAQs
Unknown package
We found that github.com/mfinancecombr/finance-wallet-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.