https://github.com/paulintrognon/plouf-plouf
Site de tirage au sort en ligne
https://github.com/paulintrognon/plouf-plouf
nextjs random reactjs typescript
Last synced: 6 months ago
JSON representation
Site de tirage au sort en ligne
- Host: GitHub
- URL: https://github.com/paulintrognon/plouf-plouf
- Owner: paulintrognon
- License: mpl-2.0
- Created: 2017-09-11T20:58:55.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2022-07-20T08:49:02.000Z (almost 4 years ago)
- Last Synced: 2024-04-13T03:51:32.287Z (about 2 years ago)
- Topics: nextjs, random, reactjs, typescript
- Language: TypeScript
- Homepage: https://plouf-plouf.fr
- Size: 1.96 MB
- Stars: 39
- Watchers: 2
- Forks: 10
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Plouf, plouf !
[](https://github.com/paulintrognon/plouf-plouf/actions)
[](https://github.com/paulintrognon/plouf-plouf/actions)
Site de tirage au sort en ligne avec partage du résultat.
# Développement local
## Avec Node.js
```shell
yarn
yarn dev
```
## Avec Docker
```shell
docker compose up dev
```
# Code Quality
## Eslint
Avant chaque commit est lancé un audit de code avec `husky`. Si l'audit ne passe pas, le commit ne pourra se faire.
Pour lancer un audit manuellement :
```shell
yarn lint .
```
Vous pouvez tenter de réparer automatiquement les erreurs avec :
```shell
yarn lint . --fix
```
## Tests E2E
Lancer les tests E2E avec la commande suivante :
```
yarn test
```
# Prod
## Avec Node.js
```
yarn start
```
## Avec Docker
```
docker-compose up prod
```
## Utiliser l'image officielle https://hub.docker.com/r/paulintrognon/plouf-plouf
```
docker run -d --restart=always -p 80:3000 paulintrognon/plouf-plouf:latest
```