Code Monkey home page Code Monkey logo

library-angular-app's Introduction

Angular version of Library-React-App

In order to compare the workflows of the two frontend technologies, this project aims to replicate the React version of the library app. Live Reference Project

The functionality will be equal, though the UI may look different.

Installation

  1. Clone this repo
  2. Run "npm -i" from the root directory
  3. Run "npm start" or "ng serve" if you have Angular CLI installed.
  4. Visit http://localhost:4200/

Preview:

Test Coverage:

Targets:

  • Define containers and components
  • Create tool- and navbars
  • Structure app component
  • Create book card component
  • Display book cards from array
  • Open library by view (all, loaned, reading status, favourites)
  • Add functionality for deleting books
  • Add functionality for localStorage
  • Achieve 100% test coverage
  • Add ability to change read/fav/loaned status after creation

Learning outcomes (compared to React):

  • Angular is a framework that "comes with batteries included" which reduces dependencies on external libraries. Usually React projects will differ significantly from each other as there are different solutions for AJAX, Routing, Forms, State Management, etc.

  • Given the opinionated nature of Angular, common folder and file structures help to organize the project.

  • The concept of injecting services as needed into individual components supports composition.

  • Replacing Jasmine with Jest resulted in faster tests.

library-angular-app's People

Contributors

flsoller avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.