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

Dev #17

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open

Dev #17

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
e90da45
added ui for 'compte' and 'jours fériés'
Wiran-Larbi Apr 29, 2024
051443b
Implemented and designed : - feature 1: User account management crede…
Wiran-Larbi May 5, 2024
b3c9514
Fixing both Membres section and Jours Fériés section
Wiran-Larbi May 12, 2024
80f203f
Updating Point Capture Section
Wiran-Larbi May 14, 2024
922c9a5
First Version of settings
Wiran-Larbi May 15, 2024
e4d940d
commiting before merging dev with feature/Sprint-1-settings
Wiran-Larbi May 17, 2024
9db54ec
Merge Conflict ResolvedÃ
Wiran-Larbi May 17, 2024
1ac193b
Update ci-api.yaml
Wiran-Larbi May 17, 2024
a39e13a
Update ci-api.yaml
Wiran-Larbi May 17, 2024
ae83427
Update ci-api.yaml
Wiran-Larbi May 17, 2024
2519c11
Update ci-api.yaml
Wiran-Larbi May 17, 2024
cb9d942
Update ci-api.yaml
Wiran-Larbi May 17, 2024
8fa6945
Update ci-api.yaml
Wiran-Larbi May 17, 2024
e66d483
Adding dashboard initial settings
Wiran-Larbi Jun 3, 2024
1f10afd
adding dashboard playground
Wiran-Larbi Jun 3, 2024
061f19f
Create README.md
Wiran-Larbi Jun 3, 2024
64fb781
Update ci-api.yaml
Wiran-Larbi Jun 3, 2024
7439828
Update environment.prod.ts
Wiran-Larbi Jun 4, 2024
287b38f
Update environment.ts
Wiran-Larbi Jun 4, 2024
7b45f20
Initialized Dashboard Treatement
Wiran-Larbi Jun 9, 2024
e4432bc
Update README.md
Wiran-Larbi Jun 10, 2024
bc13814
Update ci-ui.yaml
Wiran-Larbi Jun 10, 2024
5f1a605
Update Dockerfile
Wiran-Larbi Jun 10, 2024
2400468
Update jours-feries.component.html
Wiran-Larbi Jun 10, 2024
c14521b
Initialization for developping Treatement feature
Wiran-Larbi Jun 10, 2024
548c69c
Update docker-compose.yml file
Wiran-Larbi Jun 21, 2024
cc05140
Merging conficts
Wiran-Larbi Jun 21, 2024
ce9eb1f
Updating UI part
Wiran-Larbi Jun 21, 2024
1f67fea
Update jours-feries.component.html
Wiran-Larbi Jun 21, 2024
ac03d12
Merge Conflicts
Wiran-Larbi Jun 21, 2024
d375503
Update files
Wiran-Larbi Jun 21, 2024
974f57f
Modified jours-feries Component
Wiran-Larbi Jun 24, 2024
eacbf61
Modified the Jours Fériées Component
Wiran-Larbi Jun 24, 2024
395716a
Update package.json
Wiran-Larbi Jun 24, 2024
ab9d2c7
Update package.json
Wiran-Larbi Jun 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 29 additions & 3 deletions .github/workflows/ci-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,33 @@ jobs:
cd backend
mvn clean test


secrets:
name: Secret Scanning for API
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Secret Scanning
uses: trufflesecurity/trufflehog@main
with:
extra_args: --only-verified


sca:
name: Software composition analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/maven-3-jdk-17@master
continue-on-error: true # To make sure that SARIF upload gets called
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --severity-threshold=high
command: monitor

coverage:
name: Code Coverage Suivie Physique API
Expand Down Expand Up @@ -104,7 +130,7 @@ jobs:
build:
name: Build Suivie Physique API
runs-on: ubuntu-latest
needs: [compile, test, coverage]
needs: [compile, test, secrets, sca, coverage]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -173,7 +199,7 @@ jobs:
file: docker/backend/Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: dotcipher1/sp-api:latest
tags: suiviephysique/sp-api:latest

# deploy:
# name: Deploy Suivie Physique API
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ jobs:
file: docker/frontend/Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: dotcipher1/sp-ui:${{ steps.extract_version.outputs.UI_VERSION }}, dotcipher1/sp-ui:latest
tags: suiviephysique/sp-ui:${{ steps.extract_version.outputs.UI_VERSION }}, suiviephysique/sp-ui:latest
3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"cSpell.words": [
"Archivage",
"Choisir",
"effet"
]
}
227 changes: 227 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
<a name="readme-top"></a>
<!-- PROJECT LOGO -->
<br />
<div align="center">
<a href="https://github.com/Wiran-Larbi/suivie-physique">
<img src="https://github.com/Wiran-Larbi/suivie-physique/blob/main/frontend/src/assets/image/logo_secondary.png" alt="Logo" width="80" height="80">
</a>

<h1 align="center" style="font-size: 24px; color: teal; ">Suivie Physique</h1>

<p align="center">
a web portal to help NCRM Control and Manage Physical Values such as "Chéques et Effet" for their clients, in total Security and Traceability
<br />
<a href="https://github.com/Suivie-Physique/suivie-physique"><strong>Explore the docs »</strong></a>
<br />
<br />
<a href="https://github.com/Suivie-Physique/suivie-physique">View Demo</a>
·
<a href="https://Suivie-Physique/suivie-physique/issues/new?labels=bug&template=bug-report---.md">Report Bug</a>
·
<a href="https://Suivie-Physique/suivie-physique/issues/new?labels=enhancement&template=feature-request---.md">Request Feature</a>
</p>
</div>



<!-- TABLE OF CONTENTS -->
<details>
<summary>Table of Contents</summary>
<ol>
<li>
<a href="#about-the-project">About The Project</a>
<ul>
<li><a href="#built-with">Built With</a></li>
</ul>
</li>
<li>
<a href="#getting-started">Getting Started</a>
<ul>
<li><a href="#prerequisites">Prerequisites</a></li>
<li><a href="#installation">Installation</a></li>
</ul>
</li>
<li><a href="#usage">Usage</a></li>
<li><a href="#roadmap">Roadmap</a></li>
<li><a href="#contributing">Contributing</a></li>
<li><a href="#license">License</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#acknowledgments">Acknowledgments</a></li>
</ol>
</details>



<!-- ABOUT THE PROJECT -->
## About The Project

[![Product Name Screen Shot][product-screenshot]](https://example.com)

Here's a blank template to get started: To avoid retyping too much info. Do a search and replace with your text editor for the following: `github_username`, `repo_name`, `twitter_handle`, `linkedin_username`, `email_client`, `email`, `project_title`, `project_description`

<p align="right">(<a href="#readme-top">back to top</a>)</p>



### Built With

* [![Angular][Angular.io]][Angular-url]
* ![Spring](https://img.shields.io/badge/spring-%236DB33F.svg?style=for-the-badge&logo=spring&logoColor=white)
* ![Java](https://img.shields.io/badge/java-%23ED8B00.svg?style=for-the-badge&logo=openjdk&logoColor=white)
* ![JavaScript](https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E)
* ![TailwindCSS](https://img.shields.io/badge/tailwindcss-%2338B2AC.svg?style=for-the-badge&logo=tailwind-css&logoColor=white)
* ![MySQL](https://img.shields.io/badge/mysql-4479A1.svg?style=for-the-badge&logo=mysql&logoColor=white)
* ![AWS](https://img.shields.io/badge/AWS-%23FF9900.svg?style=for-the-badge&logo=amazon-aws&logoColor=white)
* ![Hibernate](https://img.shields.io/badge/Hibernate-59666C?style=for-the-badge&logo=Hibernate&logoColor=white)


<p align="right">(<a href="#readme-top">back to top</a>)</p>



<!-- GETTING STARTED -->
## Getting Started

The instructions will be provided soon.

### Prerequisites

The prerequisites will be provided soon.
* npm
```sh
npm install npm@latest -g
```

### Installation

1. Get a free API Key at [https://example.com](https://example.com)
2. Clone the repo
```sh
git clone https://github.com/github_username/repo_name.git
```
3. Install NPM packages
```sh
npm install
```
4. Enter your API in `config.js`
```js
const API_KEY = 'ENTER YOUR API';
```

<p align="right">(<a href="#readme-top">back to top</a>)</p>



<!-- USAGE EXAMPLES -->
## Usage

Usages will be provided soon.

_For more examples, please refer to the [Documentation](https://example.com)_

<p align="right">(<a href="#readme-top">back to top</a>)</p>



<!-- ROADMAP -->
## Roadmap

- [ ] Feature 1
- [ ] Feature 2
- [ ] Feature 3
- [ ] Nested Feature

See the [open issues](https://Suivie-Physique/suivie-physique/issues) for a full list of proposed features (and known issues).

<p align="right">(<a href="#readme-top">back to top</a>)</p>



<!-- CONTRIBUTING -->
## Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

<p align="right">(<a href="#readme-top">back to top</a>)</p>



<!-- LICENSE -->
## License

Distributed under the MIT License. See `LICENSE.txt` for more information.

<p align="right">(<a href="#readme-top">back to top</a>)</p>



<!-- CONTACT -->
## Contact

Your Name - [@twitter_handle](https://twitter.com/twitter_handle) - email@email_client.com

Project Link: [https://github.com/Wiran-Larbi/suivie-physique](https://github.com/Wiran-Larbi/suivie-physique)

<p align="right">(<a href="#readme-top">back to top</a>)</p>



<!-- ACKNOWLEDGMENTS -->
## Acknowledgments

* []()
* []()
* []()

<p align="right">(<a href="#readme-top">back to top</a>)</p>



<!-- MARKDOWN LINKS & IMAGES -->
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
[contributors-shield]: https://img.shields.io/github/contributors/github_username/repo_name.svg?style=for-the-badge
[contributors-url]: https://github.com/github_username/repo_name/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/github_username/repo_name.svg?style=for-the-badge
[forks-url]: https://github.com/github_username/repo_name/network/members
[stars-shield]: https://img.shields.io/github/stars/github_username/repo_name.svg?style=for-the-badge
[stars-url]: https://github.com/github_username/repo_name/stargazers
[issues-shield]: https://img.shields.io/github/issues/github_username/repo_name.svg?style=for-the-badge
[issues-url]: https://github.com/github_username/repo_name/issues
[license-shield]: https://img.shields.io/github/license/github_username/repo_name.svg?style=for-the-badge
[license-url]: https://github.com/github_username/repo_name/blob/master/LICENSE.txt
[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555
[linkedin-url]: https://linkedin.com/in/linkedin_username
[product-screenshot]: images/screenshot.png
[Next.js]: https://img.shields.io/badge/next.js-000000?style=for-the-badge&logo=nextdotjs&logoColor=white
[Next-url]: https://nextjs.org/
[React.js]: https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB
[React-url]: https://reactjs.org/
[Vue.js]: https://img.shields.io/badge/Vue.js-35495E?style=for-the-badge&logo=vuedotjs&logoColor=4FC08D
[Vue-url]: https://vuejs.org/
[Angular.io]: https://img.shields.io/badge/Angular-DD0031?style=for-the-badge&logo=angular&logoColor=white
[Angular-url]: https://angular.io/
[Svelte.dev]: https://img.shields.io/badge/Svelte-4A4A55?style=for-the-badge&logo=svelte&logoColor=FF3E00
[Svelte-url]: https://svelte.dev/
[Laravel.com]: https://img.shields.io/badge/Laravel-FF2D20?style=for-the-badge&logo=laravel&logoColor=white
[Laravel-url]: https://laravel.com
[Bootstrap.com]: https://img.shields.io/badge/Bootstrap-563D7C?style=for-the-badge&logo=bootstrap&logoColor=white
[Bootstrap-url]: https://getbootstrap.com
[JQuery.com]: https://img.shields.io/badge/jQuery-0769AD?style=for-the-badge&logo=jquery&logoColor=white
[JQuery-url]: https://jquery.com
[JWT-url]: https://img.shields.io/badge/JWT-black?style=for-the-badge&logo=JSON%20web%20tokens
[RxJS-url]: https://img.shields.io/badge/rxjs-%23B7178C.svg?style=for-the-badge&logo=reactivex&logoColor=white
[Spring-url]: https://img.shields.io/badge/spring-%236DB33F.svg?style=for-the-badge&logo=spring&logoColor=white
[TailwindCSS]: https://img.shields.io/badge/tailwindcss-%2338B2AC.svg?style=for-the-badge&logo=tailwind-css&logoColor=white
[AWS]: https://img.shields.io/badge/AWS-%23FF9900.svg?style=for-the-badge&logo=amazon-aws&logoColor=white
[Java]: https://img.shields.io/badge/java-%23ED8B00.svg?style=for-the-badge&logo=openjdk&logoColor=white
[JavaScript]: https://img.shields.io/badge/javascript-%23323330.svg?style=for-the-badge&logo=javascript&logoColor=%23F7DF1E
[Hibernate]: https://img.shields.io/badge/Hibernate-59666C?style=for-the-badge&logo=Hibernate&logoColor=white
4 changes: 4 additions & 0 deletions app.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DB_URL=jdbc:mysql://suivie-physique-master.cbsqw4oegule.us-east-1.rds.amazonaws.com/sp
MAIL_HOST=sandbox.smtp.mailtrap.io
ACTIVE_PROFILE=dev
JAR_VERSION=0.0.1
15 changes: 5 additions & 10 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.ldap</groupId>
<artifactId>spring-ldap-core</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-ldap</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
Expand Down Expand Up @@ -107,7 +98,11 @@
<scope>runtime</scope>
<optional>true</optional>
</dependency>
</dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
Expand Down
Loading
Loading