Skip to content

📋 Nx monorepo of Angular Tour of Heroes Router tutorial

Notifications You must be signed in to change notification settings

AndrewJBateman/nx-angular-router

Repository files navigation

⚡ Nx Angular Router

GitHub repo size GitHub pull requests GitHub Repo stars GitHub last commit

📄 Table of contents

📚 General info

  • Angular Router tutorial: tour of heroes used as starter code
  • Nx uses a single repo for both frontend and backend apps with a shared library.
  • Nx ensures that adding another app to the repo does not increase existing test or build times.
  • Uses computational caching - so test and lint tasks are not repeated on unchanged code.
  • Note: converted Nx app folder size is nearly 0.5 GB

📷 Screenshots

Frontend screenshot

📶 Technologies

💾 Setup

  • Install nx globally
  • In app, install dependencies using yarn
  • nx dep-graph to see a diagram of the dependencies of your projects.
  • yarn start to start app on a dev. server
  • nx serve for a dev server. Frontend will open at http://localhost:4200/ - refreshes on code changes
  • npx nx build nx-angular-router

Nest Backend:

  • npx nx serve api to serve the backend
  • npx nx build api to build the backend
  • npx nx test api to test the backend

🔧 Testing

  • npx nx e2e todos-e2e --watch for end to end testing of todos app
  • npx nx test to test todos app - tests need fixing

💻 Code Examples

  • tba

🆒 Features

  • tba

📋 Status, To-Do List

  • Status: Working.
  • To-Do: Complete

👏 Inspiration/General Tools

📁 License

  • This project is licensed under the terms of the MIT license.

✉️ Contact

About

📋 Nx monorepo of Angular Tour of Heroes Router tutorial

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published