Giter Site home page Giter Site logo

bnsalahfahmi / movie-store Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 3.0 11.67 MB

Reactive Angular demo application : A sample app that uses firebase backend for displaying movie shop with a Reactive angular Front-End

Home Page: https://bnsalahfahmi.github.io/movie-store

TypeScript 95.71% JavaScript 1.94% HTML 0.62% CSS 1.74%
angular5 angular9 angular-material rxjs6 firebase

movie-store's Introduction

Reactive Movie Store

The aim of this project is to build a modular and scalable application using Angular.

Demo

A live demo of movie-store is hosted on Github Pages.

alt text

This project was generated with Angular CLI version 9.0.1.

Technology Stack :

alt text

  • Angular 9
  • RxJS 6
  • Angular Material
  • Firebase

The goal of the architecture and structure used in this application is to ensure :

  • Scalability
  • Modularity
  • Separation of concerns ( less logic in the UI )
  • Framework agnostic ( The same architecture would be easy to implement in React or Vue)
  • Maintainability
  • Be Reactive => Everything should be a stream

This sample application includes the following features :

  • Modular application
  • Routing
  • Lazy loading
  • Reactive forms & validations
  • Testing
  • Material design

Application Modules

The application is splitted into several modules. The image below represents the modules implemented in this application.

  • Core Module : Core of the application, it contains the core layout, menu and logo.
  • Shared Module : Contains shared features such as Material mdoules and several utility classes.
  • Catalog Movies Module : Browse a collection of movies and view the details of each movie
  • Catalog Series Module : Browse a collection of series and view the details of each serie
  • Cart Module : Add movies or series to cart.
  • Auth Module : Authentication ( Not implemented yet )

Module Architecture

Each module in the application can be illustrated by 2 big parts :

  • UI : represented by components. This is the UI part that will be exported by each module.
  • Services : side effects services like http services and local storage

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. Use the --prod flag for a production build.

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 Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Contributors

@author: 'Fahmi BEN SALAH < [email protected] >'

Contributing

If you like the project, shoot a ๐ŸŒŸ and feel free to fork & send PR anytime.

movie-store's People

Contributors

bnsalahfahmi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.