-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
4,145 additions
and
3,177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
License | ||
MIT License | ||
|
||
Copyright (c) 2020 Ahmed BOUHLEL | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,66 @@ | ||
# Covid | ||
# Travel certificate generator | ||
|
||
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.0.4. | ||
[![github](https://badgen.net/badge/icon/github?icon=github&label)](https://github.com/ahmedbhl/Covid-19-certificate) | ||
[![angular](https://badgen.net/badge/Angular%20CLI/v%207.0.4/red)](https://github.com/angular/angular-cli) | ||
[![Demo](https://badgen.net/badge/Demo/ClicMe/green)](https://deplacement-covid-19.web.app) | ||
|
||
## Development server | ||
## Development | ||
|
||
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. | ||
### Install the project | ||
|
||
## Code scaffolding | ||
```console | ||
$ git clone https://github.com/ahmedbhl/Covid-19-certificate | ||
$ cd Covid-19-certificate | ||
$ npm i | ||
$ npm start | ||
|
||
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`. | ||
or using CLI to start project | ||
|
||
$ ng serve | ||
``` | ||
Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. | ||
|
||
### Generate production code | ||
|
||
To build the project. Use the `--prod` flag for a production build. | ||
|
||
```console | ||
$ npm run build | ||
|
||
or using CLI | ||
|
||
$ ng build | ||
``` | ||
|
||
The code to deploy will be in the `dist` folder. | ||
|
||
## Build | ||
## Credits | ||
|
||
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. | ||
The following open source projects were used for the development of this service: | ||
|
||
## Running unit tests | ||
- [PDF-LIB](https://pdf-lib.js.org/) | ||
- [qrcode](https://github.com/soldair/node-qrcode) | ||
- [Bootstrap](https://getbootstrap.com/) | ||
- [Signature Pad](https://www.npmjs.com/package/signature_pad) | ||
- [Ngx Flag Picker](https://github.com/iamartyom/ngx-flag-picker) | ||
|
||
|
||
## More details | ||
|
||
### 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`. | ||
|
||
### 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/). | ||
|
||
## Further help | ||
### 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). | ||
|
||
![screenshot](https://github.com/ahmedbhl/Covid-19-certificate/blob/develop/src/assets/images/screenshot.PNG?raw=true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/service-worker/config/schema.json", | ||
"index": "/index.html", | ||
"assetGroups": [ | ||
{ | ||
"name": "app", | ||
"installMode": "prefetch", | ||
"resources": { | ||
"files": [ | ||
"/favicon.ico", | ||
"/index.html", | ||
"/assets/manifest.webmanifest", | ||
"/*.css", | ||
"/*.js" | ||
] | ||
} | ||
}, { | ||
"name": "assets", | ||
"installMode": "lazy", | ||
"updateMode": "prefetch", | ||
"resources": { | ||
"files": [ | ||
"/assets/**", | ||
"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)" | ||
] | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.