So how does things work?
- Import Postman Requests Curl (Import using JSON link)
- Go(lang)
- SQL
- JWT
- Get Single User & all Users
- Sample URL:- https://tranzactional.herokuapp.com/api/v0/user/getuser (remover userID from header and get all users)
- Create User
- Sample URL:- https://tranzactional.herokuapp.com/api/v0/user/createuser (to create user we need company id,so create company first)
- Patch User Data
- Create Product
- Get Single Company & all Companies
- Sample URL:- https://tranzactional.herokuapp.com/api/v0/company/getcompany (remover companyId from header and get all users)
- Create Company
- Patch Company Data
- Get Invoices(sort by total,filter by greater,less or equal to amount,
- Create Invoice
- Patch Company Invoice
- Send Company Invoice
- Acknowledge Company Invoice
- Import the SQL in SQL sample database.
- run ~ go run main.go
- Test the APIs