Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add storybook #262

Open
wants to merge 36 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
87375c3
remove api
bvizureanu Feb 27, 2020
3d3cc67
changed build destination folder
bvizureanu Feb 27, 2020
dc20429
add build yaml
bvizureanu Feb 29, 2020
507a9c7
Update azure-pipelines.yml for Azure Pipelines
bvizureanu Feb 29, 2020
bd5eeca
Add names for tasks
bvizureanu Feb 29, 2020
d165422
an attempt to fix the build
bvizureanu Feb 29, 2020
da53e9c
remove what is thought to be a useless task
bvizureanu Feb 29, 2020
4fb85ac
Bump websocket-extensions from 0.1.3 to 0.1.4 in /frontend
dependabot[bot] Jun 6, 2020
9ee1748
Bump npm-registry-fetch from 4.0.2 to 4.0.5 in /frontend
dependabot[bot] Jul 8, 2020
76664ce
Merge pull request #237 from code4romania/dependabot/npm_and_yarn/fro…
aniri Jul 25, 2020
573a670
Merge pull request #236 from code4romania/dependabot/npm_and_yarn/fro…
aniri Jul 25, 2020
05dff2c
Merge pull request #229 from code4romania/cleanup
aniri Jul 25, 2020
96df762
updated backend link added local env config and cleanup up readme
aniri Jul 25, 2020
c5aa499
removed duble entry
aniri Jul 25, 2020
19b1d43
force older typescript version
aniri Jul 25, 2020
6d33123
Merge pull request #240 from aniri/updated_backend_link
aniri Jul 25, 2020
2be2ad1
Update README.md
aniri Jul 25, 2020
557f6b9
Update README.md
aniri Jul 25, 2020
f5361f6
Updated angular to last version of 8
damianr13 Sep 9, 2020
2b021b4
Updated older module dependencies
damianr13 Sep 9, 2020
3620d50
Reverted over shooting packages back to version 9
damianr13 Sep 9, 2020
3d3998c
Upgraded version of ngx-bootstrap due to compilation issues
damianr13 Sep 9, 2020
f0d3130
Refused analytics prompt
damianr13 Sep 9, 2020
faaeaff
Changed ngrx and toastr versions
damianr13 Sep 9, 2020
9d25a6f
Caped typescript version to be below 3.9
damianr13 Sep 9, 2020
e8e8277
Merge pull request #244 from damianr13/master
RaduCStefanescu Sep 10, 2020
ac28f84
updated api and observer manual links
aniri Sep 24, 2020
02b56a6
Merge pull request #247 from aniri/feature/updated_links
aniri Sep 25, 2020
5f08465
update max password length
aniri Sep 27, 2020
caa972a
Merge pull request #253 from aniri/bugfix/validate_pass_length
aniri Sep 27, 2020
6b08be8
Fix file download for download answers
Sep 27, 2020
d4d908f
Merge pull request #256 from georgebejan/develop
aniri Sep 27, 2020
4b7a5e1
Implemented forms tab (#246)
damianr13 Oct 2, 2020
1ac03b6
setting to and from variables correctly (#260)
jrstrayhorn Oct 4, 2020
ed60490
Add loader for download answers action https://github.com/code4romani…
aamanunin Oct 5, 2020
c98bdeb
Add storybook
idormenco Oct 5, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file removed MV solutions.png
Binary file not shown.
41 changes: 14 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![GitHub contributors](https://img.shields.io/github/contributors/code4romania/monitorizare-vot-ong.svg?style=for-the-badge)](https://github.com/code4romania/monitorizare-vot-ong/graphs/contributors) [![GitHub last commit](https://img.shields.io/github/last-commit/code4romania/monitorizare-vot-ong.svg?style=for-the-badge)](https://github.com/code4romania/monitorizare-vot-ong/commits/master) [![License: MPL 2.0](https://img.shields.io/badge/license-MPL%202.0-brightgreen.svg?style=for-the-badge)](https://opensource.org/licenses/MPL-2.0)

[See the project live](http://mv-ong-test.azurewebsites.net/)
[See the project live](https://app-vmon-api-dev.azurewebsites.net)

Monitorizare Vot is a mobile app for monitoring elections by authorized observers. They can use the app in order to offer a real-time snapshot on what is going on at polling stations and they can report on any noticeable irregularities.

Expand All @@ -18,19 +18,19 @@ The app also has a web version, available for every citizen who wants to report

This project is built by amazing volunteers and you can be one of them! Here's a list of ways in [which you can contribute to this project](.github/CONTRIBUTING.md). If you want to make any change to this repository, please **make a fork first**.

Help us out by testing this project in the [staging environment](http://mv-ong-test.azurewebsites.net/). If you see something that doesn't quite work the way you expect it to, open an Issue. Make sure to describe what you _expect to happen_ and _what is actually happening_ in detail.
Help us out by testing this project in the [staging environment](https://monitorizare-vot-ong-git-develop.code4romania.vercel.app/login). If you see something that doesn't quite work the way you expect it to, open an Issue. Make sure to describe what you _expect to happen_ and _what is actually happening_ in detail.

If you would like to suggest new functionality, open an Issue and mark it as a __[Feature request]__. Please be specific about why you think this functionality will be of use. If you can, please include some visual description of what you would like the UI to look like, if you are suggesting new UI elements.
If you would like to suggest new functionality, open an Issue and mark it as a __[Feature request]__. Please be specific about why you think this functionality will be of use. If you can, please include some visual description of what you would like the UI to look like, if you are suggesting new UI elements.

Also, this is [the workflow we follow](.github/WORKFLOW.md).
Also, this is [the workflow we follow](.github/WORKFLOW.md).

## Built With

Angular 8.2.14

Typescript 3.5.3

Swagger docs for the API are available [here](https://mv-mobile-test.azurewebsites.net/swagger/index.html).
Swagger docs for the API are available [here](https://app-vmon-api-dev.azurewebsites.net/swagger/index.html).

## Repos and projects

Expand All @@ -44,45 +44,32 @@ MV related repos:

## Deployment

### Frontend app

This project was generated with [angular-cli](https://github.com/angular/angular-cli) version 1.0.0-beta.21.

#### 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.
### 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. Run `ng serve --environment=qa` or `npm run start-qa` for a dev server with configs for QA. Run `ng serve --environment=prod` or `npm run start-prod` for a dev server with configs for Prod. If you also have the backend app running locally, you can run `ng serve --environment=local` or `npm run start-local` for a dev server with configs for local backend.

#### Code scaffolding
### Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class`.

#### Build
### 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
### Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

#### Running end-to-end tests
### Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.

#### Deploying to Github Pages

Run `ng github-pages:deploy` to deploy to Github Pages.

#### Further help

To get more help on the `angular-cli` use `ng --help` or go check out the [Angular-CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

#### Build instructions (Cristi)
### Staging environment

Run
- `npm install -g @angular/cli@latest`
- `npm install`
- `ng run build --prod`
- enjoy
- preview environments available automatically on each PR powered by [Vercel](https://vercel.com/). Preview environment for `develop` branch: https://monitorizare-vot-ong-git-develop.code4romania.vercel.app/login

## Feedback

Expand Down
46 changes: 0 additions & 46 deletions api/MonitorizareVot.Ong/MonitorizareVot.Ong.sln

This file was deleted.

7 changes: 0 additions & 7 deletions api/MonitorizareVot.Ong/NuGet.Config

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.