Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onehungrymind/fem-enterprise-patterns
https://github.com/onehungrymind/fem-enterprise-patterns
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/onehungrymind/fem-enterprise-patterns
- Owner: onehungrymind
- Created: 2020-11-12T14:36:47.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-26T03:24:41.000Z (8 months ago)
- Last Synced: 2024-08-02T14:12:56.831Z (3 months ago)
- Language: TypeScript
- Homepage: https://frontendmasters.com/courses/enterprise-patterns/
- Size: 15.8 MB
- Stars: 209
- Watchers: 6
- Forks: 145
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred-test - onehungrymind/fem-enterprise-patterns - (TypeScript)
README
# Enteprise Patterns Course
This is the sample project for the Enteprise Patterns course for Frontend Masters.
## Prerequisites
- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- Node.js and NPM – we recommend using [NVM (Linux/Mac)](https://github.com/creationix/nvm) or [NVM-Windows (Windows)](https://github.com/coreybutler/nvm-windows)
- Install Angular CLI via `npm i -g @angular/cli`## Web: Getting Started
```
git clone https://github.com/onehungrymind/fem-enterprise-patterns.git
cd fem-enterprise-patterns
yarn
```You can run the **micro** app via `npm run serve:micro`
The micro application will open to [http://localhost:4400](http://localhost:4400) in your browser.
You can run the **meso** app via `npm run serve:meso`
The meso application will open to [http://localhost:4500](http://localhost:4500) in your browser.
You can run the **macro** app via `npm run serve:all`
The micro application will open to [http://localhost:4200](http://localhost:4200) in your browser.
The `serve:all` command is a convenience methods that runs the `serve:api` and `serve:macro` commands concurrently. You can run each command separately if you need to.
```
"serve:api": "nx run api:serve",
"serve:micro": "nx run micro:serve --port=4400 --open",
"serve:meso": "nx run meso:serve --port=4500 --open",
"serve:macro": "ng serve --open",
"serve:all": "concurrently \"npm run serve:api\" \"npm run serve:macro\"",
```> Note: the above terminal commands are for Mac. Remember to substitute the appropriate commands for your OS.
## Challenges
If you want to follow along with the challenges, you can check out the `start` branch to see the code without solutions.
```
git checkout start
```