go-microservices's People
go-microservices's Issues
Test NoSQL as primary database
ScyllaDB- MongDB
- Store implem #31
- Indexes & Migrations
- CI
Resources
Implement Logger
Summary
- Format to stdout & JSON for production
- Support indexable fields
- Use context to log additionnal information
- FakeLogger for testing
Resources
Pagination in controller & repo
Use a production ready http router
Summary
- Routing is not very elegant and requires some code, so think about using an open source one
- Test with group join
Resources
Try to remove public fields of aggregates
Improve Token
Summary
- A bit like a JWT to pass as Auth header
- Other services should receive bytes and use the common function to parse into a token
Separate Integration tests from Unit tests
- Maybe by using Golang build tags https://www.digitalocean.com/community/tutorials/customizing-go-binaries-with-build-tags
Validate service input
Avoid cross imports
- Avoid import UserID in group
Add Group feature
- User join Groups
- User can list self groups
Move to JSON instead of form
Summary
- Should I?
Simplify management different for each service
Make all implementations pass the same test suite
Summary
- This will confirm that Fake & Sql implem have the same behavior
Test coverage
Add E2E tests
- Check that common scenari work (only good cases)
- Test from outside against docker-compose
- https://docs.cypress.io/guides/overview/why-cypress
- Already an existing stash
- Required contenerisation of other services
Tooling - Create a generic go script to replace just
Introduce CQRS
- Split services into Command & Queries
- Introduce Event handlers
Error Wrapping for better error handling
Summary
- Use specific domain errors (not found, ...)
-
errors.New(
-
fmt.Error
-
ErrorContains
Resources
Generate spec & client for the API
Avoid not using constructors
Improve tests cleanup
Most intg tests on the database have to use a cleanup per subtest, it can easily be forgotten
Move from fiber to net/http
Summary
- To avoid lock in
- To make it possible to use different engines that implement this spec
Split test & run databases
Dependency management
Improve context usage
Experiment using EventstoreDB
Food & Hunger
TODO
- Search for items and store in bag
- Loose energy over time
- Eat Food items to higher energy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.