Skip to content

sephtiger/txmo-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

txmo-backend

Its is a simple web service that provides restful API written in Flask with Postgres as database. Click this link to see the live demo.

https://taxumo-flask.herokuapp.com

If you see a message like Not Found, its okay because its not supposed to display anything other than its exposed APIs.

List of API

Company holds details like tin, address, etc. which is essential in every transaction.

Method Description
get List all companies
post Add company

For post request, here is an example json:

{
  "name": "Jollibee",
  "address": "Market Market, Bonifacio Global City, Taguig",
  "tin": "123-345-345-123"
}

Transaction contains basic details about the purchase.

Method Description
get List all transactions
post Add transaction
For post request, here is an example json:
{
  "company_id": 1,
  "amount": 111,
  "date": "01-01-2016",
  "type": "expense"
}

Initially, this is how i set it up. Eventually il add more fields as i understood the project needs further.

TODOs

  • Improve project structure
  • Add validation on fields
  • Add authentication
  • Setup on AWS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages