TLDR; An POC inventory system build with Go, GraphQL and MariaDB. Dockerized!
You can view a deployed version at http://blades.ericmarcantonio.com/, or you can build from source:
You will need:
- docker
- docker-compose
To build and run from source:
git clone https://github.com/EricMarcantonio/blades.git
cd blades/
docker-compose -f docker-compose-local.yml up --build -d
- It's running on port 80 (if you need to change this, edit docker-compose-local.yml)
Blades is a simple POC inventory system, with CRUD and the ability to export as a CSV. It has a simple React frontend, designed with Polaris from Shopify, and a dockerized backend running GraphQL with connections to MariaDB.
Repo Features
- Lean and concurrent queries, only what you request in GraphQL is queried from a table
- All complicated code is commented for easy reading
- A collection of postman requests are included for Web testing
go test
friendly testing is available for database requests- Deactivates instead of deleting records; keeping record of all products
- Add TLS and authentication
- Set up kubernetes for scaling and managing a container fleet
- Add logging servers that can digest logs (ELK Software)