Coder Social home page Coder Social logo

paperwork / web Goto Github PK

View Code? Open in Web Editor NEW
19.0 4.0 5.0 51.79 MB

Paperwork Web UI

Home Page: https://xn--gckvb8fzb.com/project-updates-q1-2022/?github#paperwork

License: GNU Affero General Public License v3.0

JavaScript 0.80% TypeScript 65.51% HTML 13.66% Makefile 1.25% Dockerfile 0.99% Shell 0.43% SCSS 17.37%
ui web angular paperwork angular7 material material-design

web's Introduction

web

Paperwork Web UI

General

This is a first try to build a web UI for Paperwork 2, based on Angular 9 and Material components.

Getting involved

Are you a front-end developer looking for a fun opensource project? I could use some help on this, get in touch!

Current state

Current state

Current state

Current state

Current state

Current state

Current state

Current state

Current state

Current state

Current state

GIFs (~8MB per file)

Docker

Environment Options

  • PAPERWORK_API_GATEWAY_PROTOCOL: The protocol the front-end should communicate with the service-gateway, http or https.
  • PAPERWORK_API_GATEWAY_HOST_PORT: The host/port combination under which the front-end can reach the service-gateway, e.g. api.mydomain.com:8080. If you're using a standard port (80 for http and 443 for https) you can simply specify api.mydomain.com here.

Development

Prerequisites

In order to start development, you need to have the following tools installed:

Development server

  • Open a terminal/command line and cd into this directory.
  • Run yarn install if you haven't done it at all or haven't done it in a while, in order to install all required dependencies.
  • Run make local-run-develop for a dev server. Even though the Angular development server runs on http://localhost:4200/, this setup uses Paperwork's local dev env, hence you should navigate to http://dev.www.paperwork.local:8000/ to access your local development instance. The app will automatically reload if you change any of the source files. Use make local-run for a production build.

Code scaffolding

  • Open a terminal/command line and cd into this directory.
  • Run yarn install if you haven't done it at all or haven't done it in a while, in order to install all required dependencies.
  • 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.

Building

  • Open a terminal/command line and cd into this directory.
  • Run make local-build-develop to build the project. The build artifacts will be stored in the dist/ directory. Use make local-build for a production build.

Running unit tests

  • Open a terminal/command line and cd into this directory.
  • Run ng test to execute the unit tests via Karma.

Running end-to-end tests

  • Open a terminal/command line and cd into this directory.
  • Run ng e2e to execute the end-to-end tests via Protractor.

Further help

  • Open a terminal/command line and cd into this directory.
  • Type ng help or go check out the Angular CLI README.

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.