First Commit

This commit is contained in:
Maxime Boulay
2024-12-23 08:05:29 +01:00
commit ba64ceb471
171 changed files with 654157 additions and 0 deletions

BIN
frontend/public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>GiecChallenge</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>

View File

@@ -0,0 +1,5 @@
{
"login" : "Login",
"register" : "Register",
"logout" : "Log out"
}

View File

@@ -0,0 +1,7 @@
{
"createNewPurchase" : "Create new purchase",
"createNewProduct" : "Create new product",
"date": "Date",
"CO2Cost": "CO2 cost",
"WaterCost": "Water cost"
}

View File

@@ -0,0 +1,5 @@
{
"product" : "Produit",
"quantity" : "Quantity",
"price" : "Price"
}

View File

@@ -0,0 +1,8 @@
{
"login" : "Log in",
"fillLogin" : "Please login to use the website",
"logout" : "Log out",
"emailPlaceholder" : "Enter your email",
"passwordPlaceholder" : "Enter your password",
"submit" : "Submit"
}

View File

@@ -0,0 +1,17 @@
{
"addNewTranslation" : "Add another translation",
"newGroup" : "New group",
"group" : "Group",
"groupSuccess" : "Group added",
"newSubGroup" : "New sub group",
"subGroup" : "Sub Group",
"subGroupSuccess" : "Sub Group added",
"newProduct" : "New product",
"product" : "Product",
"productSuccess" : "Product added",
"language" : "Language",
"CO2Emissions" : "CO2 Emissions",
"waterEmissions" : "Water Emissions",
"amortization" : "Amortization (in month)",
"submit" : "Submit"
}

View File

@@ -0,0 +1,12 @@
{
"title" : "Create new purchase",
"typeOfPurchase" : "Type of purchase",
"manual" : "Manual",
"command" : "Command",
"product" : "Products",
"addNewProduct" : "Add product",
"datePurchase" : "Purchase date",
"submit" : "Submit",
"currency" : "Currency",
"back" : "Back"
}

View File

@@ -0,0 +1,11 @@
{
"title" : "Purchase details",
"addNewProduct" : "Add product",
"product" : "Products",
"CO2Cost" : "CO2 cost",
"WaterCost" : "Water cost",
"datePurchase" : "Purchase date",
"submit" : "Submit",
"currency" : "Currency",
"back" : "Back"
}

View File

@@ -0,0 +1,5 @@
{
"login" : "Connexion",
"register" : "Inscription",
"logout" : "Deconnexion"
}

View File

@@ -0,0 +1,7 @@
{
"createNewPurchase" : "Créer une nouvelle liste d'achat",
"createNewProduct" : "Créer un nouveau produit",
"date": "Date",
"CO2Cost": "Coût en CO2",
"WaterCost": "Coût en eau"
}

View File

@@ -0,0 +1,5 @@
{
"product" : "Produit",
"quantity" : "Quantité",
"price" : "Prix"
}

View File

@@ -0,0 +1,8 @@
{
"login" : "Connexion",
"fillLogin" : "Veuillez vous connecter pour accéder à l'application",
"logout" : "Deconnexion",
"emailPlaceholder" : "Saisissez votre email",
"passwordPlaceholder" : "Saisissez votre mot de passe",
"submit" : "Valider"
}

View File

@@ -0,0 +1,17 @@
{
"newGroup" : "Nouveau groupe",
"group" : "Groupe",
"groupSuccess" : "Groupe ajouté",
"addNewTranslation" : "Ajouter une traduction",
"newSubGroup" : "Nouveau sous groupe",
"subGroup" : "Sous groupe",
"subGroupSuccess" : "Sous groupe ajouté",
"newProduct" : "Nouveau produit",
"product" : "Produit",
"productSuccess" : "Produit ajouté",
"language" : "Langue",
"CO2Emissions" : "Emissions de CO2",
"waterEmissions" : "Emissions d'eau",
"amortization" : "Amortissement (en mois)",
"submit" : "Valider"
}

View File

@@ -0,0 +1,12 @@
{
"title" : "Créer une nouvelle liste d'achat",
"typeOfPurchase" : "Type de liste d'achat",
"manual" : "Manuel",
"command" : "Commande",
"product" : "Produits",
"addNewProduct" : "Ajouter un produit",
"datePurchase" : "Date d'achat",
"submit" : "Valider",
"currency" : "Devise",
"back" : "Retour"
}

View File

@@ -0,0 +1,11 @@
{
"title" : "Créer une nouvelle liste d'achat",
"addNewProduct" : "Ajouter un produit",
"product" : "Produits",
"CO2Cost" : "Coût en CO2",
"WaterCost" : "Coût en eau",
"datePurchase" : "Date d'achat",
"submit" : "Valider",
"currency" : "Devise",
"back" : "Retour"
}

BIN
frontend/public/logo192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
frontend/public/logo512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}

View File

@@ -0,0 +1,2 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *