Skip to content

Commit c9f3aa0

Browse files
Merge pull request #5 from cedricWebsenso/main
V1.1
2 parents 0cee79d + 9acfd12 commit c9f3aa0

File tree

75 files changed

+5047
-238939
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+5047
-238939
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public/lib/
99
*.rest
1010

1111
# WEBSENSO
12-
#docker-compose.*
13-
config/env/development.js
12+
docker-compose.*
1413
config/env/production.js
14+
config/env/development.js
1515
websensoZzzImportPythonToMongo/

README.md

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Afin de mettre en place la passerelle, il est nécessaire :
1414

1515
Version 1 financée par la [Région Sud](https://www.maregionsud.fr), développée par [IDfr](https://www.idfr.net) et [MEDIACTEURS](https://mediacteurs.net).
1616

17-
Depuis 2023, l'[agence WebSenso](https://www.websenso.com) héberge la plateforme qui synchronise quotidiennement Géotrek avec Apidae.
17+
Depuis 2023, l'[agence WebSenso](https://www.websenso.com) héberge la plateforme qui synchronise quotidiennement Géotrek avec Apidae et prépare la verison 1.1 de la passerelle.
1818

1919
## Installation
2020

@@ -24,7 +24,7 @@ Outils nécessaires :
2424
- Docker et Docker-compose
2525
- MongoDB 4.4.6
2626

27-
Créer la structure de dossier comme indiqué dans l'arbre elsn dessous :
27+
Créer la structure de dossier :
2828

2929
```
3030
├── Sitourisme (PACA-API)
@@ -38,13 +38,22 @@ Dans le projet effectuer les commandes d'installation :
3838
```
3939
$ docker-compose up -d
4040
```
41-
2 containers Docker sont ainsi créés, MongoDB & ElasticSearch.
41+
Le container Docker de MongoDB est ainsi créé.
4242

4343
Ensuite pour générer l'application :
4444

4545
```
4646
$ npm install
47-
$ npm run init-import
47+
```
48+
49+
Environnement de développement, connecté à apidae.cooking sur un projet en écriture / multimembre
50+
```
51+
$ npm run dev
52+
```
53+
54+
Environnement de production, connecté à apidae.com
55+
```
56+
4857
$ npm run prod
4958
```
5059

@@ -55,3 +64,37 @@ L'import des données est effectué automatiquement toutes les nuits via la comm
5564
```
5665
$ curl "URL/api/products/import?type=geotrek-api"
5766
```
67+
68+
# Changelog
69+
70+
## 1.1
71+
- EVO Write on Apidae Multimember project
72+
- EVO New Géotrek configuration file with Axios renew connection
73+
- EVO New Géotrek configuration file to customize activities depending of Géotrek instance
74+
- EVO Config/Apidae - Json Activity from Apidae
75+
- EVO FO removing auto inscription and unused views
76+
- EVO FO listing products - Adding status / ID Géotrek - Apidae / Errors
77+
- Class ImportGenericGeotrekApi refactored with deprecated Util.inherits removed by ES6 extends Géotrek import class
78+
- Depcheck install & clean dependencies modules from npm project (async, elasticsearch, json2csv, mongodb, q, slug, xml2json)
79+
- Tests Lint Done
80+
- Removing unused routes & methods from controller / models
81+
- Removing old Géotrek import
82+
- Removing old RegionDo import
83+
- Removing unused ElasticSearch on Api Géotrek import
84+
- Removing Ecosystem / PM2 old hosting configuration
85+
86+
## 1.0
87+
- FO Angular 1.4.14 managed by Bower
88+
- MongoDB 4.4.6
89+
- ElasticSearch
90+
- Géotrek / Géotrek API / RegioDo
91+
92+
## Work in progress
93+
- Merging configuration Sitra files
94+
95+
96+
## To prepare
97+
- Refactoring model / product to use catch block over async methods
98+
- Update to Mangoose 7.1.x - Methods no CB allowed > refact to do
99+
- Fix middleware Passeport on product api, Guest GET allowed
100+
- Remove Swig module - Engine templating refactoring needed

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "PACA-API",
3-
"version": "0.1.0",
2+
"name": "geotrek2apidae",
3+
"version": "1.0.0",
44
"description": "PACA Manager APP in JavaScript with MongoDB, ElasticSearch, Express, AngularJS, and Node.js.",
55
"dependencies": {
66
"bootstrap": "~3",
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
[
2+
{
3+
"Identifiant": 3313,
4+
"Nom": "Itinéraire de randonnée équestre"
5+
},
6+
{
7+
"Identifiant": 3333,
8+
"Nom": "Itinéraire de randonnée pédestre"
9+
},
10+
{
11+
"Identifiant": 4176,
12+
"Nom": "Itinéraire de ski de randonnée alpin"
13+
},
14+
{
15+
"Identifiant": 6930,
16+
"Nom": "Itinéraire de ski de randonnée nordique"
17+
},
18+
{
19+
"Identifiant": 4201,
20+
"Nom": "Itinéraire de Trail"
21+
},
22+
{
23+
"Identifiant": 5447,
24+
"Nom": "Itinéraire de Vélo à Assistance Electrique"
25+
},
26+
{
27+
"Identifiant": 6225,
28+
"Nom": "Itinéraire de VTT à Assistance Électrique"
29+
},
30+
{
31+
"Identifiant": 5368,
32+
"Nom": "Itinéraire en canoë / en kayak"
33+
},
34+
{
35+
"Identifiant": 5446,
36+
"Nom": "Itinéraire enduro"
37+
},
38+
{
39+
"Identifiant": 4174,
40+
"Nom": "Itinéraire Fat Bike"
41+
},
42+
{
43+
"Identifiant": 6168,
44+
"Nom": "Itinéraire fauteuil tout terrain"
45+
},
46+
{
47+
"Identifiant": 6224,
48+
"Nom": "Itinéraire gravel bike"
49+
},
50+
{
51+
"Identifiant": 3302,
52+
"Nom": "Itinéraire raquettes"
53+
},
54+
{
55+
"Identifiant": 3284,
56+
"Nom": "Itinéraire VTT"
57+
},
58+
]

0 commit comments

Comments
 (0)