https://github.com/rndbyte/spa-with-ddd
Sample of single page application based on React and InversifyJS wity DDD aproach.
https://github.com/rndbyte/spa-with-ddd
ddd-architecture inversifyjs react typescript webpack
Last synced: 27 days ago
JSON representation
Sample of single page application based on React and InversifyJS wity DDD aproach.
- Host: GitHub
- URL: https://github.com/rndbyte/spa-with-ddd
- Owner: rndbyte
- Created: 2022-10-10T18:03:12.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-10T18:07:45.000Z (over 3 years ago)
- Last Synced: 2025-03-16T12:19:19.634Z (about 1 year ago)
- Topics: ddd-architecture, inversifyjs, react, typescript, webpack
- Language: TypeScript
- Homepage:
- Size: 162 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# SPA with DDD approach
Sometimes your single page application contains a huge amount of business logic.
This project will show you how to deal with it.
## Project structure
- app - classic React application with set of contracts (interfaces);
- domains - pure business logic of application (implementation of use cases);
- infrastructure - environment specific services.
## TODO
1. Use @reduxjs/toolkit instead of regular redux;
2. Use ts-loader for typescript bundling;
3. Use React Fast Refresh for HMR instead of React Hot Loader;
4. Add to eslint configuration more strict rules;
5. Move some specific values to .env;
6. Add translations for application;
7. Split application to chunks;
8. Write unit tests for domains;
9. Write more domains;
10. Make the border between application and infrastructure more strict (add more contracts).