Go to file
Spencer Ofwiti 5228842e61 Merge branch 'master' into spencer/docs
# Conflicts:
#	package-lock.json
#	package.json
#	src/app/_eth/accountIndex.ts
#	src/app/_eth/token-registry.ts
#	src/app/_guards/auth.guard.ts
#	src/app/_guards/role.guard.ts
#	src/app/_helpers/array-sum.ts
#	src/app/_helpers/clipboard-copy.ts
#	src/app/_helpers/custom-error-state-matcher.ts
#	src/app/_helpers/custom.validator.ts
#	src/app/_helpers/export-csv.ts
#	src/app/_helpers/global-error-handler.ts
#	src/app/_helpers/http-getter.ts
#	src/app/_helpers/mock-backend.ts
#	src/app/_helpers/read-csv.ts
#	src/app/_helpers/schema-validation.ts
#	src/app/_services/user.service.spec.ts
2021-05-11 20:41:47 +03:00
.husky Merge branch 'master' into spencer/linting 2021-05-11 20:04:02 +03:00
docs Add documentation to the helpers module. 2021-05-11 14:34:23 +03:00
e2e initial commit 2020-10-30 18:16:05 +03:00
src Merge branch 'master' into spencer/docs 2021-05-11 20:41:47 +03:00
.browserslistrc initial commit 2020-10-30 18:16:05 +03:00
.dockerignore Add docker setup. 2020-12-28 13:31:35 +03:00
.editorconfig initial commit 2020-10-30 18:16:05 +03:00
.env.example Refactor .env-example. 2021-03-21 14:04:21 +03:00
.gitignore add dev env 2021-04-17 15:06:09 -07:00
.gitlab-ci.yml Update .gitlab-ci.yml 2021-04-19 22:17:20 +00:00
.prettierignore Add code formatting with prettier. 2021-05-10 15:19:54 +03:00
.prettierrc Add code formatting with prettier. 2021-05-10 15:19:54 +03:00
angular.json Merge branch 'master' into spencer/pwa 2021-04-19 15:31:42 +03:00
Dockerfile Update Dockerfile 2021-04-16 23:26:42 +00:00
karma.conf.js Add separate build and test stages. 2020-11-25 17:58:36 +03:00
LICENSE Add LICENSE 2021-03-31 13:37:37 +00:00
nginx.conf builds for docker 2021-04-10 12:17:16 -07:00
ngsw-config.json Add progressive web app support. 2021-03-22 22:13:11 +03:00
package-lock.json Update package-lock.json. 2021-05-11 20:07:01 +03:00
package.json Merge branch 'master' into spencer/docs 2021-05-11 20:41:47 +03:00
patch-webpack.js Add patch to webpack postinstall. 2021-02-28 11:13:04 +03:00
README.md blocking access on 401/403 2021-04-29 05:29:54 +00:00
set-env.ts builds for docker 2021-04-10 12:17:16 -07:00
tsconfig.app.json Add session token to session storage. 2021-01-18 16:04:16 +03:00
tsconfig.doc.json Add docs. 2021-05-10 21:56:20 +03:00
tsconfig.json Add path shortcuts to all paths in the system. 2021-02-17 15:49:04 +03:00
tsconfig.spec.json initial commit 2020-10-30 18:16:05 +03:00
tslint.json Add code formatting with prettier. 2021-05-10 15:19:54 +03:00

CICADA

An angular admin web client for managing users and transactions in the CIC network.

This project was generated with Angular CLI version 10.2.0.

Angular CLI

Run npm install -g @angular/cli to install the angular CLI.

Development server

Run npm run start:dev 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.

Lazy-loading feature modules

Run ng generate module module-name --route module-name --module app.module to generate a new module on route /module-name in the app module.

Build

set you environment variables - set these via environment variables as found in set-env.ts // TODO create a .env file so people don't have to set these one-by-one

Run npm run build:dev to build the project. The build artifacts will be stored in the dist/ directory. Use the build:prod script for a production build.

Running unit tests

Run npm run test:dev to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Environment variables

Environment variables are contained in the .env file. See .env.example for a template.

Default environment variables are set in the set-env.ts file. Once loaded they will be populated in the directory src/environments/. It contains environment variables for development on environment.ts and production on environment.prod.ts.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.