Skip to content

Hanh2212/angular-task

Repository files navigation

angular-task

Tech stack

High level design

Application architecture

AppModule will import:

  • image
  • Angular needed modules such as BrowserModule and any module that need to run forRoot.
  • I configured the router to lazy-load only when needed. For example, LoginModule when I open the URL at /login and TaskModule when the URL is /tasks. Inside each modules, I import whatever modules that are required.

Features

Angular application and simple Nest API

  • Easy to understand project structure
  • Simple CRUD list and its tasks
  • Filter tasks by status

While working with this application, I have the opportunity to revisit some of the interesting topics:

  • Deploy Angular application to Netlify, Nestjs to Heroku

Setting up development environment

  • git clone https://github.com/Hanh2212/angular-task.git
  • npm install
  • npm start for angular web application
  • The app should run on http://localhost:4200

This project was generated with Angular CLI version 13.2.5.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

License

Feel free to use my code on your project! MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published