chore: archive the repository
1
.gitignore
vendored
@ -1 +0,0 @@
|
||||
.github/backup
|
12
README.md
@ -1,5 +1,9 @@
|
||||
<h1 align="center"><a href="https://function.divlo.fr/">FunctionProject</a></h1>
|
||||
|
||||
<p align="center">
|
||||
<strong>⚠️ Le projet n'est plus maintenu.</strong>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<strong>Apprenez la programmation grâce à l'apprentissage par projet alias fonction.</strong>
|
||||
</p>
|
||||
@ -38,11 +42,11 @@ Si vous voulez **contribuer**, avant toute chose écrivez une **"[issue](https:/
|
||||
|
||||
Si vous voulez avoir les données des catégories et des fonctions, vous pouvez d'abord lancer l'API pour que Sequelize crée les tables SQl et ensuite exécuter le fichier SQL [backup.sql](./.github/backup.sql).
|
||||
|
||||
### Prérequis :
|
||||
### Prérequis
|
||||
|
||||
- [Node.js](https://nodejs.org/) >= 14
|
||||
- [npm](https://www.npmjs.com/) >= 6
|
||||
- [MySQL](https://www.mysql.com/) >= 8.0
|
||||
- [npm](https://www.npmjs.com/) >= 7
|
||||
- [MySQL](https://www.mysql.com/) >= 8
|
||||
|
||||
### Commandes (à suivre dans l'ordre)
|
||||
|
||||
@ -98,8 +102,6 @@ npm run dev # API lancé sur http://localhost:8080
|
||||
|
||||
Enjoy! 😃
|
||||
|
||||
[![JavaScript Style Guide](https://cdn.rawgit.com/standard/standard/master/badge.svg)](https://github.com/standard/standard)
|
||||
|
||||
## 📄 License
|
||||
|
||||
[MIT](./LICENSE)
|
||||
|
2
api/.gitignore
vendored
@ -22,7 +22,7 @@
|
||||
# misc
|
||||
.DS_Store
|
||||
/temp
|
||||
/assets/images/
|
||||
/assets/images/users
|
||||
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM node:14.15.3-alpine3.12
|
||||
FROM node:14.16.1
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
BIN
api/assets/images/functions/armstrongNumber.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
api/assets/images/functions/arrayMethods.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
api/assets/images/functions/calculateAge.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
api/assets/images/functions/chronometerTimer.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
api/assets/images/functions/convertCurrency.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
api/assets/images/functions/convertDistance.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
api/assets/images/functions/convertEncoding.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
api/assets/images/functions/convertMarkdown.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
api/assets/images/functions/convertRomanArabicNumbers.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
api/assets/images/functions/convertTemperature.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
api/assets/images/functions/fibonacci.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
api/assets/images/functions/findLongestWord.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
api/assets/images/functions/heapAlgorithm.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
api/assets/images/functions/isPalindrome.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
api/assets/images/functions/linkShortener.png
Normal file
After Width: | Height: | Size: 9.5 KiB |
BIN
api/assets/images/functions/randomNumber.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
api/assets/images/functions/randomQuote.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
api/assets/images/functions/rightPrice.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
api/assets/images/functions/sortArray.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
api/assets/images/functions/toDoList.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
BIN
api/assets/images/functions/weatherRequest.png
Normal file
After Width: | Height: | Size: 16 KiB |
6509
api/package-lock.json
generated
@ -13,8 +13,7 @@
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
"dev": "nodemon app.js",
|
||||
"lint": "standard | snazzy",
|
||||
"format": "standard --fix | snazzy"
|
||||
"lint": "standard | snazzy"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.21.1",
|
||||
@ -22,25 +21,25 @@
|
||||
"cors": "^2.8.5",
|
||||
"dotenv": "^8.2.0",
|
||||
"express": "^4.17.1",
|
||||
"express-fileupload": "^1.2.0",
|
||||
"express-fileupload": "^1.2.1",
|
||||
"express-http-to-https": "^1.1.4",
|
||||
"express-rate-limit": "^5.2.3",
|
||||
"express-validator": "^6.9.0",
|
||||
"helmet": "^4.3.1",
|
||||
"jsdom": "^16.4.0",
|
||||
"express-rate-limit": "^5.2.6",
|
||||
"express-validator": "^6.10.0",
|
||||
"helmet": "^4.4.1",
|
||||
"jsdom": "^16.5.3",
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
"moment": "^2.29.1",
|
||||
"morgan": "^1.10.0",
|
||||
"ms": "^2.1.3",
|
||||
"mysql2": "^2.2.5",
|
||||
"nodemailer": "^6.4.17",
|
||||
"sequelize": "^6.3.5",
|
||||
"nodemailer": "^6.5.0",
|
||||
"sequelize": "^6.6.2",
|
||||
"smart-request-balancer": "^2.1.1",
|
||||
"uuid": "^8.3.2",
|
||||
"validator": "^13.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^2.0.6",
|
||||
"nodemon": "^2.0.7",
|
||||
"snazzy": "^9.0.0",
|
||||
"standard": "^16.0.3"
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ services:
|
||||
container_name: 'functionproject-website'
|
||||
|
||||
functionproject-phpmyadmin:
|
||||
image: 'phpmyadmin/phpmyadmin:5.0.2'
|
||||
image: 'phpmyadmin/phpmyadmin:5.1.0'
|
||||
environment:
|
||||
PMA_HOST: 'functionproject-database'
|
||||
PMA_USER: 'root'
|
||||
@ -52,7 +52,7 @@ services:
|
||||
container_name: 'functionproject-phpmyadmin'
|
||||
|
||||
functionproject-database:
|
||||
image: 'mysql:8.0.22'
|
||||
image: 'mysql:8.0.23'
|
||||
command: '--default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci'
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: 'password'
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM node:14.15.3-alpine3.12
|
||||
FROM node:14.16.1
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
5139
s.divlo.fr/package-lock.json
generated
@ -13,20 +13,19 @@
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
"dev": "nodemon app.js",
|
||||
"lint": "standard | snazzy",
|
||||
"format": "standard --fix | snazzy"
|
||||
"lint": "standard | snazzy"
|
||||
},
|
||||
"dependencies": {
|
||||
"dotenv": "^8.2.0",
|
||||
"ejs": "^3.1.5",
|
||||
"ejs": "^3.1.6",
|
||||
"express": "^4.17.1",
|
||||
"express-http-to-https": "^1.1.4",
|
||||
"helmet": "^4.3.1",
|
||||
"helmet": "^4.4.1",
|
||||
"morgan": "^1.10.0",
|
||||
"mysql": "^2.18.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^2.0.6",
|
||||
"nodemon": "^2.0.7",
|
||||
"snazzy": "^9.0.0",
|
||||
"standard": "^16.0.3"
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM node:14.15.3-alpine3.12
|
||||
FROM node:14.16.1
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
16399
website/package-lock.json
generated
@ -18,31 +18,30 @@
|
||||
"start": "next start",
|
||||
"build": "next build",
|
||||
"export": "next export",
|
||||
"lint": "standard | snazzy",
|
||||
"format": "standard --fix | snazzy"
|
||||
"lint": "standard | snazzy"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-svg-core": "^1.2.32",
|
||||
"@fortawesome/free-brands-svg-icons": "^5.15.1",
|
||||
"@fortawesome/free-regular-svg-icons": "^5.15.1",
|
||||
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
||||
"@fortawesome/fontawesome-svg-core": "^1.2.35",
|
||||
"@fortawesome/free-brands-svg-icons": "^5.15.3",
|
||||
"@fortawesome/free-regular-svg-icons": "^5.15.3",
|
||||
"@fortawesome/free-solid-svg-icons": "^5.15.3",
|
||||
"@fortawesome/react-fontawesome": "^0.1.14",
|
||||
"axios": "^0.21.1",
|
||||
"date-and-time": "^0.14.2",
|
||||
"date-fns": "^2.16.1",
|
||||
"date-and-time": "^1.0.0",
|
||||
"date-fns": "^2.21.1",
|
||||
"express": "^4.17.1",
|
||||
"express-http-to-https": "^1.1.4",
|
||||
"html-react-parser": "^1.1.1",
|
||||
"next": "^10.0.4",
|
||||
"html-react-parser": "^1.2.5",
|
||||
"next": "^10.1.3",
|
||||
"next-fonts": "^1.5.1",
|
||||
"next-pwa": "^5.0.1",
|
||||
"next-pwa": "^5.2.9",
|
||||
"notyf": "^3.9.0",
|
||||
"nprogress": "^0.2.0",
|
||||
"react": "17.0.1",
|
||||
"react": "16.13.1",
|
||||
"react-codepen-embed": "^1.0.2",
|
||||
"react-color": "^2.19.3",
|
||||
"react-datepicker": "^3.3.0",
|
||||
"react-dom": "17.0.1",
|
||||
"react-dom": "16.13.1",
|
||||
"react-markdown": "^5.0.3",
|
||||
"react-swipeable-views": "^0.13.9",
|
||||
"react-swipeable-views-utils": "^0.13.9",
|
||||
|