mirror of
https://github.com/arthur-pbty/calculatrice.git
synced 2026-06-26 22:23:02 +02:00
Refactor Dockerfile, update README, and enhance Calculator component
- Refactored Dockerfile for improved multi-stage builds and added development and production configurations. - Updated README with clearer project description, local development instructions, and added contact information. - Enhanced Calculator component to manage theme and history using localStorage, improving user experience. - Added new pages for legal mentions and privacy policy, including relevant metadata. - Updated docker-compose.yml for better service management and added environment variables. - Introduced a new LICENSE file outlining usage rights and responsibilities.
This commit is contained in:
@@ -1,33 +1,32 @@
|
||||
# Calculatrice
|
||||
|
||||
Application web de calculatrice réalisée avec Next.js.
|
||||
Calculatrice web (simple + scientifique) construite avec Next.js.
|
||||
|
||||
## Site en ligne
|
||||
## Liens
|
||||
|
||||
- Projet: https://calculatrice.arthurp.fr
|
||||
- Site: https://calculatrice.arthurp.fr
|
||||
- Site principal: https://arthurp.fr
|
||||
- Contact: https://contact.arthurp.fr
|
||||
- Email: contact@arthurp.fr
|
||||
|
||||
## Objectif
|
||||
|
||||
Proposer une calculatrice simple, rapide et responsive, utilisable sur desktop et mobile.
|
||||
|
||||
## Stack technique
|
||||
## Stack
|
||||
|
||||
- Next.js 16
|
||||
- React 19
|
||||
- TypeScript
|
||||
|
||||
## Lancement en local
|
||||
## Developpement local
|
||||
|
||||
Prerequis: Node.js 20+
|
||||
Prerequis: Node.js 22+
|
||||
|
||||
```bash
|
||||
npm install
|
||||
npm ci
|
||||
npm run dev
|
||||
```
|
||||
|
||||
Application accessible sur http://localhost:3000
|
||||
Application: http://localhost:3000
|
||||
|
||||
## Scripts utiles
|
||||
## Scripts
|
||||
|
||||
```bash
|
||||
npm run dev
|
||||
@@ -36,21 +35,24 @@ npm run start
|
||||
npm run lint
|
||||
```
|
||||
|
||||
## Deploiement
|
||||
## Docker
|
||||
|
||||
Build de production:
|
||||
Mode dev:
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
docker compose --profile dev up --build
|
||||
```
|
||||
|
||||
Ensuite deployer sur votre plateforme cible (Vercel, VPS, etc.).
|
||||
Mode production:
|
||||
|
||||
## Backlinks
|
||||
```bash
|
||||
docker compose --profile prod up --build -d
|
||||
```
|
||||
|
||||
- Calculatrice en ligne: https://calculatrice.arthurp.fr
|
||||
- Site principal: https://arthurp.fr
|
||||
- Dev: http://localhost:3000
|
||||
- Prod: http://localhost:3014
|
||||
|
||||
## Licence
|
||||
## Pages legales
|
||||
|
||||
Projet personnel.
|
||||
- /mentions-legales
|
||||
- /politique-de-confidentialite
|
||||
|
||||
Reference in New Issue
Block a user