Git Product home page Git Product logo

triss-client's Introduction

TrissClient

The following repository contains the frontend app of Triss (Trip Support System) written in Angular. The backend service is available here

CI/CD

As of now, the frontend app uses Netlify for builds and deployments. Branch and PR previews are enabled. The project is deployed here


This project was generated with Angular CLI version 9.1.7.

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.

triss-client's People

Contributors

kffl avatar marcelijerzynski avatar mateusztamborski avatar pietrzakkuba avatar rybov avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

rybov

triss-client's Issues

New request form

Related backend issue:

kffl/triss-server#4

Description

Employee (Prelegent) user should be able to create a new request that then will be processed by: Director, Wilda and Rector by filling in an appropriate form in the client app.

Acceptance criteria

  • The form inside the app should contain the same information as the paper-based one
  • The request form should have appropriate validation

Setup basic SPA structure

Related backend issue:

none

Description

Setting up the basic structure of the client app includes: choosing an appropriate UI kit for the project, setting up SPA routing, creating basic views.

Acceptance criteria

  • It should have routing implemented
  • It should use a UI kit chosen by the development team

Changing request status in frontend

Related backend issue:

Description

Changing status of request when director, wilda or rector approve it

Acceptance criteria

  • First one
  • The other one

Director actor client app view

Related backend issue:

kffl/triss-server#6

Description

The director should be able to browse all requests in the system, view their details and (in case of newly created ones, status "OCZEKUJE_NA_ZGODE_DYREKTORA") either accepting them or rejecting.

Acceptance criteria

  • Request list view is paginated
  • Request details view has an action buttons either rejecting or accepting the request
  • Described views shall not be visible to Employee actor
  • When rejecting a request, the Director should be able to specify the reason (it will be displayed in the Employee's view)

Employee actor client app view

Related backend issue:

kffl/triss-server#5

Description

A logged-in employee actor (Prelegent) should be able to browse their existing requests in an appropriate view ("Moje wnioski"). Such view should be exclusive to that type of actor and display basic information related to each request including it's current status (i.e. "OCZEKUJE_NA_ZGODE_DYREKTORA").

At this point, the auth/login process should be mocked as it will be later integrated with elogin.

Acceptance criteria

  • It should contain a view listing all sent requests ("Moje wnioski")
  • That view should show current status of each request
  • There is no need to implement auth/login for this type of user as of now

Personal data view in frontend

Related backend issue:

Description

App should contain view with personal data such as name email etc. with ability to change it

Acceptance criteria

  • First one
  • The other one

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.