Giter Site home page Giter Site logo

jarvis-frontend-angular's Introduction

Jarvis Webapp

Building the UI from source

Prerequisite

  • a linux machine
  • Node 16 with latest npm
  • clone the project to your local machine

build

  • cd to the root of the project
  • run npm ci to install required node modules
  • run npm run build

Application Structure

Business Logic module

Contains Jarvis logic. api calls and Jarvis objects (e.g tasks, models) and Jarvis logic function (e.g isTaskHidden)

Core module

Contains only logic. no declarations. no dependency with any other module beside ngrx.

  • services - utilities classes. file name: <name>.service.ts

Feature Modules

Application feature modules. each module can contain declarations and providers specific to the the feature
Depend only on shared module for ui components

#####each feature should contain the following:

  • module - the feature module: <featureName>.module.ts.
  • component - the feature main component js file, should contain the feature's containers components only: <featureName>.component.ts.
  • component html - the feature component html: <featureName>.component.html.
  • component style - the feature component style: <featureName>.component.scss.
  • utils - the feature utils, a page with list of pure functions for utils purposes: <featureName>.utils.ts.
  • constants - the feature constants values: <featureName>.const.ts.
  • model - the feature types, interfaces and objects declarations: <featureName>.model.ts.
  • actions - redux action classes - file name: <name>.actions.ts
  • effects - ngrx effects classes. manage data flow and side effects - file name: <name>.effect.ts
  • reducers - simple functions for state composition. file name: <name> .reducer.ts
  • services - utilities classes with the same responsibility under services folder : <name>.service.ts.
  • container components - components that will include dumb components and will pass data from the state to the dumb components and dispatch actions of the dumb components, the container components will be under containers folder.
  • dumb components - stateless view components that will communicate through inputs and outputs, the dumb components will be under dumb folder.

Shared Module

Application shared UI components, directives and pipes. contain only declarations. All the components should be reusable.

jarvis-frontend-angular's People

Contributors

malipatilabhi1 avatar allegroai-git avatar shyallegro avatar dependabot[bot] avatar qwaxys avatar jkhenning avatar artemisart avatar andolsizied avatar tamarklein 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.