Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/android10/frontend-architecture-modular-monolith
This is a movies sample app in Typescript using Vue, React and Angular. It aims to demonstrate how to architect frontends using a modular monolith approach as inspiration, for a later evolution to micro-frontends
https://github.com/android10/frontend-architecture-modular-monolith
architecture frontend frontend-development javascript micro-frontend microfrontend monolith-architecture monolithic-architecture pwa pwa-apps ts typescript vscode web web-development
Last synced: 3 days ago
JSON representation
This is a movies sample app in Typescript using Vue, React and Angular. It aims to demonstrate how to architect frontends using a modular monolith approach as inspiration, for a later evolution to micro-frontends
- Host: GitHub
- URL: https://github.com/android10/frontend-architecture-modular-monolith
- Owner: android10
- License: apache-2.0
- Created: 2022-01-18T13:45:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-04T15:24:37.000Z (about 1 year ago)
- Last Synced: 2024-04-18T02:26:22.052Z (7 months ago)
- Topics: architecture, frontend, frontend-development, javascript, micro-frontend, microfrontend, monolith-architecture, monolithic-architecture, pwa, pwa-apps, ts, typescript, vscode, web, web-development
- Language: Vue
- Homepage: https://fernandocejas.com
- Size: 263 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Frontend Web Architecture: A Modular Monolith Approach
In order to **get started,** please refer to the the following **article/post** I have written:
- [Frontend Web Architecture: A Modular Monolith Approach](https://fernandocejas.com/blog/engineering/2023-10-31-rust-cross-platform-web/).
## The Idea
**A picture worth a thousand words!** Here is a summary of what this project tries to accomplished:
TODO
And here the **implemantion details:**
TODO
## Software Stack
- [Vue.js](https://vuejs.org/).
- [pnpm](https://pnpm.io/).
- TODO## Recommended `nodejs` version
- If you use [asdf-vm](https://asdf-vm.com/) as **Version Manager**, please check the [.tool-versions](.tool-versions) file.
## Recommended IDE Setup
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
## Type Support for `.vue` Imports in TS
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
1. Disable the built-in TypeScript Extension
1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.## Customize configuration
See [Vite Configuration Reference](https://vitejs.dev/config/).
## Local Development
```bash
pnpm install # Install project dependencies
pnpm dev # Compile and Hot-Reload for Development
pnpm build # Type-Check, Compile and Minify for Production
```## Testing and Code quality
It includes, Static Analisys, Lint and Unit and Integration tests.
### Run Tests with [Vitest](https://vitest.dev/)
```sh
pnpm test
```### Lint with [ESLint](https://eslint.org/)
```sh
pnpm lint
```## References
- https://vitejs.dev/guide/
- https://vitest.dev/guide/
- https://vuejs.org/guide/
- https://vuejs.org/guide/typescript/overview.html
- https://github.com/vuejs/language-tools
- https://pinia.vuejs.org/
- https://github.com/vuejs/awesome-vue## License
Copyright 2023 Fernando Cejas
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.![https://fernandocejas.com](https://github.com/android10/Sample-Data/blob/master/android10/android10_logo_big.png)