mirror of
https://github.com/arthur-pbty/calculatrice.git
synced 2026-06-12 00:04:29 +02:00
8400e26c0a
- 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.
59 lines
759 B
Markdown
59 lines
759 B
Markdown
# Calculatrice
|
|
|
|
Calculatrice web (simple + scientifique) construite avec Next.js.
|
|
|
|
## Liens
|
|
|
|
- Site: https://calculatrice.arthurp.fr
|
|
- Site principal: https://arthurp.fr
|
|
- Contact: https://contact.arthurp.fr
|
|
- Email: contact@arthurp.fr
|
|
|
|
## Stack
|
|
|
|
- Next.js 16
|
|
- React 19
|
|
- TypeScript
|
|
|
|
## Developpement local
|
|
|
|
Prerequis: Node.js 22+
|
|
|
|
```bash
|
|
npm ci
|
|
npm run dev
|
|
```
|
|
|
|
Application: http://localhost:3000
|
|
|
|
## Scripts
|
|
|
|
```bash
|
|
npm run dev
|
|
npm run build
|
|
npm run start
|
|
npm run lint
|
|
```
|
|
|
|
## Docker
|
|
|
|
Mode dev:
|
|
|
|
```bash
|
|
docker compose --profile dev up --build
|
|
```
|
|
|
|
Mode production:
|
|
|
|
```bash
|
|
docker compose --profile prod up --build -d
|
|
```
|
|
|
|
- Dev: http://localhost:3000
|
|
- Prod: http://localhost:3014
|
|
|
|
## Pages legales
|
|
|
|
- /mentions-legales
|
|
- /politique-de-confidentialite
|