Campo Citta di Nascita (nel profilo nuova maniera), manca ancora da sistemare l'edit
Se seleziono la Provincia , mi deve comparire la lista dei comuni
This commit is contained in:
6
src/server/populate/adtypegoods.js
Normal file
6
src/server/populate/adtypegoods.js
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
list: [
|
||||
{_id: 1, descr: 'Offro'},
|
||||
{_id: 2, descr: 'Cerco'},
|
||||
],
|
||||
};
|
||||
@@ -2,71 +2,71 @@ module.exports = {
|
||||
list: [
|
||||
{
|
||||
_id: 1,
|
||||
descr: "Abitare",
|
||||
descr: 'Abitare',
|
||||
},
|
||||
{
|
||||
_id: 2,
|
||||
descr: "Arte",
|
||||
descr: 'Arte',
|
||||
},
|
||||
{
|
||||
_id: 3,
|
||||
descr: "Alimentazione",
|
||||
descr: 'Alimentazione',
|
||||
},
|
||||
{
|
||||
_id: 4,
|
||||
descr: "Artigianato",
|
||||
descr: 'Artigianato',
|
||||
},
|
||||
{
|
||||
_id: 5,
|
||||
descr: "Assistenza Legale",
|
||||
descr: 'Assistenza Legale',
|
||||
},
|
||||
{
|
||||
_id: 6,
|
||||
descr: "Benessere e Salute",
|
||||
descr: 'Benessere e Salute',
|
||||
},
|
||||
{
|
||||
_id: 7,
|
||||
descr: "Gruppi Locali",
|
||||
descr: 'Gruppi Locali',
|
||||
},
|
||||
{
|
||||
_id: 8,
|
||||
descr: "Istruzione",
|
||||
descr: 'Istruzione',
|
||||
},
|
||||
{
|
||||
_id: 2,
|
||||
descr: "Arte",
|
||||
descr: 'Arte',
|
||||
},
|
||||
{
|
||||
_id: 9,
|
||||
descr: "Mobilità",
|
||||
descr: 'Mobilità',
|
||||
},
|
||||
{
|
||||
_id: 10,
|
||||
descr: "Sport",
|
||||
descr: 'Sport',
|
||||
},
|
||||
{
|
||||
_id: 11,
|
||||
descr: "Servizi",
|
||||
descr: 'Servizi',
|
||||
},
|
||||
{
|
||||
_id: 12,
|
||||
descr: "Tecnologia",
|
||||
descr: 'Tecnologia',
|
||||
},
|
||||
{
|
||||
_id: 13,
|
||||
descr: "Turismo",
|
||||
descr: 'Turismo',
|
||||
},
|
||||
{
|
||||
_id: 14,
|
||||
descr: "Ecovillaggi",
|
||||
descr: 'Ecovillaggi',
|
||||
},
|
||||
{
|
||||
_id: 15,
|
||||
descr: "Feste",
|
||||
descr: 'Feste',
|
||||
},
|
||||
{
|
||||
_id: 16,
|
||||
descr: "Altro",
|
||||
descr: 'Altro',
|
||||
},
|
||||
]
|
||||
}
|
||||
],
|
||||
};
|
||||
|
||||
@@ -57,7 +57,7 @@ module.exports = {
|
||||
{
|
||||
"_id" : ObjectID("61bc454867de9a1f54b254f2"),
|
||||
"idapp" : "12",
|
||||
"label" : "Baratto (scambio Beni o Servizi)",
|
||||
"label" : "Baratto",
|
||||
"__v" : 0
|
||||
},
|
||||
{
|
||||
@@ -69,7 +69,7 @@ module.exports = {
|
||||
{
|
||||
"_id" : ObjectID("61bc482667de9a1f64b254ab"),
|
||||
"idapp" : "12",
|
||||
"label" : "Monete Alternative",
|
||||
"label" : "Monete Alternative (Ris, Sardex, Gaiax, Val, Cripto)",
|
||||
"__v" : 0
|
||||
},
|
||||
{
|
||||
@@ -158,31 +158,7 @@ module.exports = {
|
||||
{
|
||||
"_id" : ObjectID("51bc482667de9a1f64b254ab"),
|
||||
"idapp" : "13",
|
||||
"label" : "Monete Alternative",
|
||||
"__v" : 0
|
||||
},
|
||||
{
|
||||
"_id" : ObjectID("51bc482667de9a1f64b254ac"),
|
||||
"idapp" : "13",
|
||||
"label" : "Ris (RISO)",
|
||||
"__v" : 0
|
||||
},
|
||||
{
|
||||
"_id" : ObjectID("51bc482667de9a1f64b254ad"),
|
||||
"idapp" : "13",
|
||||
"label" : "Sardex",
|
||||
"__v" : 0
|
||||
},
|
||||
{
|
||||
"_id" : ObjectID("51bc482667de9a1f64b254ae"),
|
||||
"idapp" : "13",
|
||||
"label" : "Gaiax (ProItaly)",
|
||||
"__v" : 0
|
||||
},
|
||||
{
|
||||
"_id" : ObjectID("51bc482667de9a1f64b254af"),
|
||||
"idapp" : "13",
|
||||
"label" : "Val (VAL.AZ.CO.)",
|
||||
"label" : "Monete Alternative (Ris, Sardex, Gaiax, Val, Cripto)",
|
||||
"__v" : 0
|
||||
},
|
||||
{
|
||||
@@ -191,11 +167,5 @@ module.exports = {
|
||||
"label" : "Euro",
|
||||
"__v" : 0
|
||||
},
|
||||
{
|
||||
"_id" : ObjectID("51bc482667de9a1f64b257fb"),
|
||||
"idapp" : "13",
|
||||
"label" : "Criptomonete",
|
||||
"__v" : 0
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
58
src/server/populate/goods.js
Normal file
58
src/server/populate/goods.js
Normal file
@@ -0,0 +1,58 @@
|
||||
module.exports = {
|
||||
list: [
|
||||
{_id: 1, idSectorGood: [1], descr: 'Abbigliamento donna'},
|
||||
{_id: 2, idSectorGood: [1], descr: 'Abbigliamento uomo'},
|
||||
{_id: 3, idSectorGood: [1], descr: 'Accessori'},
|
||||
{_id: 4, idSectorGood: [1], descr: 'Scarpe donna'},
|
||||
{_id: 5, idSectorGood: [1], descr: 'Scarpe uomo'},
|
||||
{_id: 6, idSectorGood: [2], descr: 'Bagno'},
|
||||
{_id: 7, idSectorGood: [2], descr: 'Camera'},
|
||||
{_id: 8, idSectorGood: [2], descr: 'Complementi d\'arredo'},
|
||||
{_id: 9, idSectorGood: [2], descr: 'Cucina'},
|
||||
{_id: 10, idSectorGood: [2], descr: 'Esterno'},
|
||||
{_id: 11, idSectorGood: [2], descr: 'Soggiorno'},
|
||||
{_id: 12, idSectorGood: [3], descr: 'Altri veicoli'},
|
||||
{_id: 13, idSectorGood: [3], descr: 'Auto'},
|
||||
{_id: 14, idSectorGood: [3], descr: 'Moto'},
|
||||
{_id: 15, idSectorGood: [3], descr: 'Camper'},
|
||||
{_id: 16, idSectorGood: [3], descr: 'Van (furgoni camperizzati)'},
|
||||
{_id: 17, idSectorGood: [4], descr: 'Bigiotteria'},
|
||||
{_id: 18, idSectorGood: [4], descr: 'Lavoretti'},
|
||||
{_id: 19, idSectorGood: [4], descr: 'Mangia e bevi'},
|
||||
{_id: 20, idSectorGood: [5], descr: 'Accessori bellezza'},
|
||||
{_id: 21, idSectorGood: [5], descr: 'Creme e detergenti'},
|
||||
{_id: 22, idSectorGood: [5], descr: 'Trucchi e profumi'},
|
||||
{_id: 23, idSectorGood: [6], descr: 'Giocattoli e giochi di società'},
|
||||
{_id: 24, idSectorGood: [6], descr: 'Igiene e pannolini'},
|
||||
{_id: 25, idSectorGood: [6], descr: 'Lettini e culle'},
|
||||
{_id: 26, idSectorGood: [6], descr: 'Passeggini & co'},
|
||||
{_id: 27, idSectorGood: [6], descr: 'Vestiti e scarpe'},
|
||||
{_id: 28, idSectorGood: [7], descr: 'Bere'},
|
||||
{_id: 29, idSectorGood: [7], descr: 'Mangiare'},
|
||||
{_id: 30, idSectorGood: [8], descr: 'Antiquariato'},
|
||||
{_id: 31, idSectorGood: [8], descr: 'Collezionismo'},
|
||||
{_id: 32, idSectorGood: [9], descr: 'Altro'},
|
||||
{_id: 33, idSectorGood: [9], descr: 'Cellulari e accessori'},
|
||||
{_id: 34, idSectorGood: [9], descr: 'Computer e software'},
|
||||
{_id: 35, idSectorGood: [9], descr: 'Elettrodomestici'},
|
||||
{_id: 36, idSectorGood: [9], descr: 'Fotografia'},
|
||||
{_id: 37, idSectorGood: [9], descr: 'Videogiochi e console'},
|
||||
{_id: 38, idSectorGood: [10], descr: 'Console'},
|
||||
{_id: 39, idSectorGood: [10], descr: 'Giochi di società'},
|
||||
{_id: 40, idSectorGood: [10], descr: 'PC games'},
|
||||
{_id: 41, idSectorGood: [11], descr: 'Attrezzatura'},
|
||||
{_id: 42, idSectorGood: [11], descr: 'Materiali'},
|
||||
{_id: 43, idSectorGood: [11], descr: 'Prodotti'},
|
||||
{_id: 44, idSectorGood: [11], descr: 'Strumentazione'},
|
||||
{_id: 45, idSectorGood: [12], descr: ' riviste e fumetti'},
|
||||
{_id: 46, idSectorGood: [13], descr: 'CD e vinili'},
|
||||
{_id: 47, idSectorGood: [13], descr: 'Film e DVD'},
|
||||
{_id: 48, idSectorGood: [13], descr: 'Strumenti musicali'},
|
||||
{_id: 49, idSectorGood: [14], descr: 'Arredamento'},
|
||||
{_id: 50, idSectorGood: [14], descr: 'Attrezzature e accessori'},
|
||||
{_id: 51, idSectorGood: [14], descr: 'Cancelleria e cartucce'},
|
||||
{_id: 52, idSectorGood: [15], descr: 'Abbigliamento'},
|
||||
{_id: 53, idSectorGood: [15], descr: 'Attrezzature e accessori Sport'},
|
||||
{_id: 54, idSectorGood: [15], descr: 'Bici e accessori'},
|
||||
],
|
||||
};
|
||||
@@ -2,7 +2,7 @@ module.exports = {
|
||||
list: [
|
||||
{_id: 0, descr: '[Nessuno]', years_of_exp: 0},
|
||||
{_id: 1, descr: 'Elementare', years_of_exp: 1},
|
||||
{_id: 2, descr: 'Intermedio', years_of_exp: 3},
|
||||
{_id: 3, descr: 'Avanzato', years_of_exp: 5},
|
||||
{_id: 2, descr: 'Intermedio', years_of_exp: 2},
|
||||
{_id: 3, descr: 'Avanzato', years_of_exp: 3},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
|
||||
const tools = require('../tools/general');
|
||||
const Path = require('path')
|
||||
const Path = require('path');
|
||||
|
||||
const shared_consts = require('../tools/shared_nodejs');
|
||||
|
||||
const globalTables = require('../tools/globalTables');
|
||||
|
||||
module.exports = {
|
||||
|
||||
@@ -18,7 +23,7 @@ module.exports = {
|
||||
});
|
||||
}
|
||||
}
|
||||
}catch (e){
|
||||
} catch (e) {
|
||||
console.log('error insertIntoDb', e);
|
||||
}
|
||||
|
||||
@@ -39,7 +44,7 @@ module.exports = {
|
||||
|
||||
if (mydbfile && mydbfile.list) {
|
||||
for (const rec of mydbfile.list) {
|
||||
let obj = {}
|
||||
let obj = {};
|
||||
obj[field] = rec[field];
|
||||
|
||||
var mynewrec = new table(rec);
|
||||
@@ -55,24 +60,22 @@ module.exports = {
|
||||
if (ris) {
|
||||
numrec++;
|
||||
}
|
||||
}catch (e){
|
||||
} catch (e) {
|
||||
console.log('error ', e);
|
||||
}
|
||||
|
||||
//await table.insertMany(rec, {ordered: false});
|
||||
}
|
||||
}
|
||||
|
||||
if (numrec > 0)
|
||||
console.log('*** Insert', numrec, 'record on '+tablename);
|
||||
console.log('*** Insert', numrec, 'record on ' + tablename);
|
||||
|
||||
}
|
||||
}
|
||||
}catch (e){
|
||||
} catch (e) {
|
||||
console.log('error insertIntoDb', e);
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
|
||||
async rewriteTable(table) {
|
||||
@@ -80,102 +83,89 @@ module.exports = {
|
||||
let mytab = null;
|
||||
let field = '';
|
||||
|
||||
const {City} = require('../models/city');
|
||||
const {Province} = require('../models/province');
|
||||
const {Sector} = require('../models/sector');
|
||||
const {Skill} = require('../models/skill');
|
||||
const {SubSkill} = require('../models/subskill');
|
||||
const {Contribtype} = require('../models/contribtype');
|
||||
const {Level} = require('../models/level');
|
||||
try {
|
||||
const {City} = require('../models/city');
|
||||
const {Province} = require('../models/province');
|
||||
const {Sector} = require('../models/sector');
|
||||
const {SectorGood} = require('../models/sectorgood');
|
||||
const {Skill} = require('../models/skill');
|
||||
const {Good} = require('../models/good');
|
||||
// const {SubSkill} = require('../models/subskill');
|
||||
const {Contribtype} = require('../models/contribtype');
|
||||
const {Level} = require('../models/level');
|
||||
|
||||
if (table === 'cities') {
|
||||
mytab = City;
|
||||
field = 'comune';
|
||||
} else if (table === 'provinces') {
|
||||
mytab = Province;
|
||||
field = 'descr';
|
||||
} else if (table === 'sectors') {
|
||||
mytab = Sector;
|
||||
field = 'descr';
|
||||
} else if (table === 'skills') {
|
||||
mytab = Skill;
|
||||
field = 'descr';
|
||||
} else if (table === 'subskills') {
|
||||
mytab = SubSkill;
|
||||
field = 'descr';
|
||||
} else if (table === 'contribtypes') {
|
||||
mytab = Contribtype;
|
||||
field = 'label';
|
||||
} else if (table === 'levels') {
|
||||
mytab = Level;
|
||||
field = 'descr';
|
||||
if (table === 'cities') {
|
||||
mytab = City;
|
||||
field = 'comune';
|
||||
} else if (table === 'provinces') {
|
||||
mytab = Province;
|
||||
field = 'descr';
|
||||
} else if (table === 'sectors') {
|
||||
mytab = Sector;
|
||||
field = 'descr';
|
||||
} else if (table === 'sectorgoods') {
|
||||
mytab = SectorGood;
|
||||
field = 'descr';
|
||||
} else if (table === 'skills') {
|
||||
mytab = Skill;
|
||||
field = 'descr';
|
||||
} else if (table === 'goods') {
|
||||
mytab = Good;
|
||||
field = 'descr';
|
||||
//} else if (table === 'subskills') {
|
||||
// mytab = SubSkill;
|
||||
// field = 'descr';
|
||||
} else if (table === 'contribtypes') {
|
||||
mytab = Contribtype;
|
||||
field = 'label';
|
||||
} else if (table === 'levels') {
|
||||
mytab = Level;
|
||||
field = 'descr';
|
||||
}
|
||||
|
||||
if (mytab) {
|
||||
console.log('Delete ', table);
|
||||
await mytab.deleteMany({});
|
||||
|
||||
await this.insertIntoDb_NoDuplicate(false, table, mytab, field);
|
||||
}
|
||||
return true;
|
||||
} catch (e) {
|
||||
console.error('Err: ' + e);
|
||||
}
|
||||
|
||||
if (mytab) {
|
||||
console.log('Delete ', table)
|
||||
await mytab.deleteMany({});
|
||||
|
||||
await this.insertIntoDb_NoDuplicate(false, table, mytab, field)
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
async popolaTabelleNuove() {
|
||||
const abilita = true;
|
||||
const scrivi_citta = false;
|
||||
const scrivi_contribtype = false;
|
||||
|
||||
let ris = null;
|
||||
try {
|
||||
|
||||
console.log('INIZIO - popolaTabelleNuove');
|
||||
|
||||
console.log('INIZIO - popolaTabelleNuove')
|
||||
for (const rec of shared_consts.TABLES_POPULATE_DATA) {
|
||||
let mytable = globalTables.getTableByTableName(rec.table);
|
||||
|
||||
// Sectors
|
||||
const {Sector} = require('../models/sector');
|
||||
await this.insertIntoDb_NoDuplicate(abilita, 'sectors', Sector, 'descr')
|
||||
let attiva = abilita;
|
||||
if (rec.table === 'cities' || rec.table === 'province') {
|
||||
attiva = scrivi_citta;
|
||||
}
|
||||
if (rec.table === 'contribtypes') {
|
||||
attiva = scrivi_contribtype;
|
||||
}
|
||||
|
||||
// CatGrps
|
||||
const {CatGrp} = require('../models/catgrp');
|
||||
await this.insertIntoDb_NoDuplicate(abilita, 'catgrps', CatGrp, 'descr')
|
||||
await this.insertIntoDb_NoDuplicate(attiva, rec.table, mytable, rec.key);
|
||||
}
|
||||
|
||||
// Skills (Competenze)
|
||||
const {Skill} = require('../models/skill');
|
||||
await this.insertIntoDb_NoDuplicate(abilita, 'skills', Skill, 'descr')
|
||||
console.log('FINE - popolaTabelleNuove');
|
||||
|
||||
// SubSectors
|
||||
const {SubSkill} = require('../models/subskill');
|
||||
await this.insertIntoDb_NoDuplicate(abilita, 'subskills', SubSkill, 'descr')
|
||||
|
||||
// Levels
|
||||
const {Level} = require('../models/level');
|
||||
await this.insertIntoDb_NoDuplicate(abilita, 'levels', Level, 'descr')
|
||||
|
||||
// Status
|
||||
const {StatusSkill} = require('../models/statusSkill');
|
||||
await this.insertIntoDb_NoDuplicate(abilita, 'statusskills', StatusSkill, 'descr')
|
||||
|
||||
// Cities
|
||||
const {City} = require('../models/city');
|
||||
await this.insertIntoDb_NoDuplicate(scrivi_citta, 'cities', City, 'comune')
|
||||
|
||||
// Province
|
||||
const {Province} = require('../models/province');
|
||||
await this.insertIntoDb_NoDuplicate(scrivi_citta, 'provinces', Province, 'descr')
|
||||
|
||||
// Contribtypes
|
||||
const {Contribtype} = require('../models/contribtype');
|
||||
await this.insertIntoDb_NoDuplicate(false, 'contribtypes', Contribtype, 'label')
|
||||
|
||||
// AdTypes
|
||||
const {AdType} = require('../models/adtype');
|
||||
await this.insertIntoDb_NoDuplicate(abilita, 'adtypes', AdType, 'descr')
|
||||
|
||||
console.log('FINE - popolaTabelleNuove')
|
||||
|
||||
}catch (e) {
|
||||
return true;
|
||||
} catch (e) {
|
||||
console.error('Err: ' + e);
|
||||
return false;
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
19
src/server/populate/sectorgoods.js
Normal file
19
src/server/populate/sectorgoods.js
Normal file
@@ -0,0 +1,19 @@
|
||||
module.exports = {
|
||||
list: [
|
||||
{_id: 1, descr: 'Abbigliamento'},
|
||||
{_id: 2, descr: 'Arredamento'},
|
||||
{_id: 3, descr: 'Auto e Moto'},
|
||||
{_id: 4, descr: 'Autoproduzione'},
|
||||
{_id: 5, descr: 'Bellezza e igiene'},
|
||||
{_id: 6, descr: 'Bimbi'},
|
||||
{_id: 7, descr: 'Cibo'},
|
||||
{_id: 8, descr: 'Collezionismo e Antiquariato'},
|
||||
{_id: 9, descr: 'Elettronica'},
|
||||
{_id: 10, descr: 'Giochi'},
|
||||
{_id: 11, descr: 'Hobby'},
|
||||
{_id: 12, descr: 'Libri'},
|
||||
{_id: 13, descr: 'Musica e film'},
|
||||
{_id: 14, descr: 'Scuola e ufficio'},
|
||||
{_id: 15, descr: 'Sport'},
|
||||
{_id: 16, descr: 'Un po\' di tutto'}],
|
||||
};
|
||||
@@ -1,31 +1,17 @@
|
||||
module.exports = {
|
||||
list: [
|
||||
{
|
||||
descr: 'Abitare',
|
||||
},
|
||||
{
|
||||
descr: 'Alimentazione',
|
||||
},
|
||||
{
|
||||
descr: 'Animali',
|
||||
},
|
||||
{
|
||||
descr: 'Arte e Cultura',
|
||||
},
|
||||
{
|
||||
descr: 'Benessere e Salute',
|
||||
},
|
||||
{
|
||||
descr: 'Servizi per la Casa',
|
||||
},
|
||||
{
|
||||
descr: 'Servizi per la Persona',
|
||||
},
|
||||
{
|
||||
descr: 'Tecnologia',
|
||||
},
|
||||
{
|
||||
descr: 'Turismo',
|
||||
},
|
||||
{_id: 1, descr: 'Abitare'},
|
||||
{_id: 2, descr: 'Agricoltura'},
|
||||
{_id: 3, descr: 'Alimentazione'},
|
||||
{_id: 4, descr: 'Animali'},
|
||||
{_id: 5, descr: 'Auto e Veicoli'},
|
||||
{_id: 6, descr: 'Benessere'},
|
||||
{_id: 7, descr: 'Casa'},
|
||||
{_id: 8, descr: 'Intrattenimento'},
|
||||
{_id: 9, descr: 'Ospitalità'},
|
||||
{_id: 10, descr: 'Persona'},
|
||||
{_id: 11, descr: 'Progetti di Gruppo'},
|
||||
{_id: 12, descr: 'Salute'},
|
||||
{_id: 13, descr: 'Tecnologia'},
|
||||
],
|
||||
};
|
||||
|
||||
@@ -1,108 +1,106 @@
|
||||
module.exports = {
|
||||
list: [
|
||||
{idSector: [1], descr: 'Arredamento'},
|
||||
{idSector: [1], descr: 'Costruzioni'},
|
||||
{idSector: [1], descr: 'Ecovillaggi / Comunità'},
|
||||
{idSector: [1], descr: 'Giardini'},
|
||||
{idSector: [1], descr: 'Impianti TV'},
|
||||
{idSector: [1], descr: 'Pozzi Acqua'},
|
||||
{idSector: [1], descr: 'Prodotti Casa'},
|
||||
{idSector: [1], descr: 'Pulizie'},
|
||||
{idSector: [1], descr: 'Restaurazioni'},
|
||||
{idSector: [1], descr: 'Riparazioni'},
|
||||
{idSector: [1], descr: 'Servizi Casa'},
|
||||
{idSector: [1], descr: 'Sgombero'},
|
||||
{idSector: [1], descr: 'Sicurezza'},
|
||||
{idSector: [2], descr: 'Agricoltura'},
|
||||
{idSector: [2], descr: 'Alimentari'},
|
||||
{idSector: [2], descr: 'Cucina'},
|
||||
{idSector: [2], descr: 'Altro'},
|
||||
{idSector: [2], descr: 'Autoproduzioni'},
|
||||
{idSector: [2], descr: 'Azienda Agricola'},
|
||||
{idSector: [3], descr: 'Dog sitter'},
|
||||
{idSector: [3], descr: 'Pet sitter'},
|
||||
{idSector: [3], descr: 'Toelettatura cani'},
|
||||
{idSector: [3], descr: 'Toelettatura gatti'},
|
||||
{idSector: [3], descr: 'Vendita prodotti'},
|
||||
{idSector: [3], descr: 'Cura degli animali'},
|
||||
{idSector: [3], descr: 'Veterinario'},
|
||||
{idSector: [4], descr: 'Ballo'},
|
||||
{idSector: [4], descr: 'Canto'},
|
||||
{idSector: [4], descr: 'Cinema'},
|
||||
{idSector: [4], descr: 'Fotografia'},
|
||||
{idSector: [4], descr: 'Letteratura'},
|
||||
{idSector: [4], descr: 'Musica'},
|
||||
{idSector: [4], descr: 'Pittura'},
|
||||
{idSector: [4], descr: 'Libri'},
|
||||
{idSector: [4], descr: 'Teatro'},
|
||||
{idSector: [4], descr: 'Moda'},
|
||||
{idSector: [5], descr: 'Benessere Corpo'},
|
||||
{idSector: [5], descr: 'Benessere Olistico'},
|
||||
{idSector: [5], descr: 'Centro Benessere'},
|
||||
{idSector: [5], descr: 'Gravidanza'},
|
||||
{idSector: [5], descr: 'Medicina Alternativa'},
|
||||
{idSector: [5], descr: 'Medicina Convenzionale'},
|
||||
{idSector: [5], descr: 'Pronto Soccorso'},
|
||||
{idSector: [5], descr: 'Operatore Olistico'},
|
||||
{idSector: [5], descr: 'Operatori Sanitari'},
|
||||
{idSector: [5], descr: 'Salute Corpo'},
|
||||
{idSector: [5], descr: 'Salute Globale'},
|
||||
{idSector: [5], descr: 'Salute Psiche'},
|
||||
{idSector: [5], descr: 'Servizi per la Persona'},
|
||||
{idSector: [5], descr: 'Strutture'},
|
||||
{idSector: [6], descr: 'Aspetti Burocratici'},
|
||||
{idSector: [6], descr: 'Elettricista'},
|
||||
{idSector: [6], descr: 'Fabbro e lavorazioni ferro/acciaio'},
|
||||
{idSector: [6], descr: 'Falegname'},
|
||||
{idSector: [6], descr: 'Frigorista'},
|
||||
{idSector: [6], descr: 'Giardiniere'},
|
||||
{idSector: [6], descr: 'Idraulico'},
|
||||
{idSector: [6], descr: 'Imbianchino'},
|
||||
{idSector: [6], descr: 'Impermeabilizzazioni'},
|
||||
{idSector: [6], descr: 'Installatore Linea Telefono e Modem'},
|
||||
{idSector: [6], descr: 'Installazioni'},
|
||||
{idSector: [6], descr: 'Restaurazione'},
|
||||
{idSector: [6], descr: 'Riparazioni Casa'},
|
||||
{idSector: [6], descr: 'Servizio Traslochi'},
|
||||
{idSector: [6], descr: 'Riscaldamento'},
|
||||
{idSector: [6], descr: 'Smontaggio e Montaggio'},
|
||||
{idSector: [6], descr: 'Strutturazioni e Riparazioni'},
|
||||
{idSector: [6], descr: 'Tuttofare'},
|
||||
{idSector: [6], descr: 'Vetraio'},
|
||||
{idSector: [7], descr: 'Abbigliamento'},
|
||||
{idSector: [7], descr: 'Assicurazioni'},
|
||||
{idSector: [7], descr: 'Assistenza Anziani'},
|
||||
{idSector: [7], descr: 'Assistenza Fiscale'},
|
||||
{idSector: [7], descr: 'Assistenza Legale'},
|
||||
{idSector: [7], descr: 'Assistenza Persone'},
|
||||
{idSector: [7], descr: 'Baby sitter'},
|
||||
{idSector: [7], descr: 'Corsi'},
|
||||
{idSector: [7], descr: 'Corsi per Bambini e Adolescenti'},
|
||||
{idSector: [7], descr: 'Finanza'},
|
||||
{idSector: [7], descr: 'Insegnante'},
|
||||
{idSector: [7], descr: 'Interprete e traduzioni'},
|
||||
{idSector: [7], descr: 'Educazione'},
|
||||
{idSector: [7], descr: 'Formazione'},
|
||||
{idSector: [7], descr: 'Gruppi di Acquisto'},
|
||||
{idSector: [7], descr: 'Banca del Tempo'},
|
||||
{idSector: [7], descr: 'Collabora con noi'},
|
||||
{idSector: [7], descr: 'Eventi'},
|
||||
{idSector: [7], descr: 'Laboratori'},
|
||||
{idSector: [7], descr: 'Idee'},
|
||||
{idSector: [7], descr: 'Progetti'},
|
||||
{idSector: [7], descr: 'Mobilità'},
|
||||
{idSector: [7], descr: 'Oggettistica'},
|
||||
{idSector: [7], descr: 'Solidarietà'},
|
||||
{idSector: [7], descr: 'Sport'},
|
||||
{idSector: [7], descr: 'Trasporti'},
|
||||
{idSector: [8], descr: 'Audio/Video'},
|
||||
{idSector: [8], descr: 'Biologia'},
|
||||
{idSector: [8], descr: 'Chimica'},
|
||||
{idSector: [8], descr: 'Informatica'},
|
||||
{idSector: [8], descr: 'Elettronica'},
|
||||
{idSector: [8], descr: 'Meccanica'},
|
||||
{idSector: [8], descr: 'Telefonia'},
|
||||
{idSector: [9], descr: 'Vacanze'},
|
||||
{idSector: [9], descr: 'Receptionist'}
|
||||
]
|
||||
}
|
||||
{_id: 1, idSector: [1], descr: 'Autocostruzione'},
|
||||
{_id: 2, idSector: [1], descr: 'Ecovillaggi / Comunità'},
|
||||
{_id: 3, idSector: [1], descr: 'Cohousing'},
|
||||
{_id: 4, idSector: [2], descr: 'Orto sinergico'},
|
||||
{_id: 5, idSector: [2], descr: 'Pacciamatura'},
|
||||
{_id: 6, idSector: [2], descr: 'Orto tradizionale'},
|
||||
{_id: 7, idSector: [2], descr: 'Permacultura'},
|
||||
{_id: 8, idSector: [2], descr: 'Cultura idroponica'},
|
||||
{_id: 9, idSector: [2], descr: 'Elettrocultura'},
|
||||
{_id: 10, idSector: [2], descr: 'Aratura + semina'},
|
||||
{_id: 11, idSector: [2], descr: 'Potatura'},
|
||||
{_id: 12, idSector: [2], descr: 'Raccolta'},
|
||||
{_id: 13, idSector: [3], descr: 'Preparazione cibi'},
|
||||
{_id: 14, idSector: [3], descr: 'Preparazione bevande'},
|
||||
{_id: 15, idSector: [3], descr: 'Autoproduzione alimenti e bevande'},
|
||||
{_id: 16, idSector: [4], descr: 'Servizi per Cani'},
|
||||
{_id: 17, idSector: [4], descr: 'Servizi per Gatti'},
|
||||
{_id: 18, idSector: [4], descr: 'Servizi per Anumali da allevamento'},
|
||||
{_id: 19, idSector: [4], descr: 'Veterinario'},
|
||||
{_id: 20, idSector: [5], descr: 'Riparazioni Auto'},
|
||||
{_id: 21, idSector: [5], descr: 'Riparazioni Moto'},
|
||||
{_id: 22, idSector: [5], descr: 'Riparazioni Camper / Van'},
|
||||
{_id: 23, idSector: [5], descr: 'Creazione di Van Camperizzati'},
|
||||
{_id: 24, idSector: [5], descr: 'Noleggio veicoli'},
|
||||
{_id: 25, idSector: [5], descr: 'Lavaggio auto'},
|
||||
{_id: 26, idSector: [6], descr: 'Alimentazione Naturale'},
|
||||
{_id: 27, idSector: [6], descr: 'Ginnastica'},
|
||||
{_id: 28, idSector: [6], descr: 'Yoga'},
|
||||
{_id: 29, idSector: [6], descr: 'Trattamenti Olistici'},
|
||||
{_id: 30, idSector: [6], descr: 'Meditazione e mindfulness'},
|
||||
{_id: 31, idSector: [6], descr: 'Trattamenti Energetici'},
|
||||
{_id: 32, idSector: [6], descr: 'Trattamenti Sonori'},
|
||||
{_id: 33, idSector: [6], descr: 'Arteterapia'},
|
||||
{_id: 34, idSector: [6], descr: 'Teatroterapia'},
|
||||
{_id: 35, idSector: [6], descr: 'Cantoterapia'},
|
||||
{_id: 36, idSector: [6], descr: 'Trattamenti Luminosi'},
|
||||
{_id: 37, idSector: [6], descr: 'Fitoterapia'},
|
||||
{_id: 38, idSector: [6], descr: 'Kinesiologia'},
|
||||
{_id: 39, idSector: [6], descr: 'Terapie Naturali'},
|
||||
{_id: 40, idSector: [7], descr: 'Muratore'},
|
||||
{_id: 41, idSector: [7], descr: 'Imbianchino'},
|
||||
{_id: 42, idSector: [7], descr: 'Elettricista - TV'},
|
||||
{_id: 43, idSector: [7], descr: 'Falegname e restauro'},
|
||||
{_id: 44, idSector: [7], descr: 'Fabbro'},
|
||||
{_id: 45, idSector: [7], descr: 'Arredamento'},
|
||||
{_id: 46, idSector: [7], descr: 'Idraulico'},
|
||||
{_id: 47, idSector: [7], descr: 'Giardiniere'},
|
||||
{_id: 48, idSector: [7], descr: 'Canne fumarie e camini e stufe'},
|
||||
{_id: 49, idSector: [7], descr: 'Pannelli solari e pompe calore'},
|
||||
{_id: 50, idSector: [7], descr: 'Riparazioni varie'},
|
||||
{_id: 51, idSector: [7], descr: 'Tuttofare'},
|
||||
{_id: 52, idSector: [7], descr: 'Traslochi'},
|
||||
{_id: 53, idSector: [7], descr: 'Piastrellista'},
|
||||
{_id: 54, idSector: [7], descr: 'Pulizie'},
|
||||
{_id: 55, idSector: [8], descr: 'Ballo'},
|
||||
{_id: 56, idSector: [8], descr: 'Canto'},
|
||||
{_id: 57, idSector: [8], descr: 'Musica'},
|
||||
{_id: 58, idSector: [8], descr: 'Letteratura e poesia'},
|
||||
{_id: 59, idSector: [8], descr: 'Teatro'},
|
||||
{_id: 60, idSector: [8], descr: 'Fotografia'},
|
||||
{_id: 61, idSector: [8], descr: 'Film making'},
|
||||
{_id: 62, idSector: [8], descr: 'Sport'},
|
||||
{_id: 63, idSector: [8], descr: 'Arte'},
|
||||
{_id: 64, idSector: [9], descr: 'Offresi Ospitalità'},
|
||||
{_id: 65, idSector: [9], descr: 'Affitto casa'},
|
||||
{_id: 66, idSector: [9], descr: 'Affittacamere'},
|
||||
{_id: 67, idSector: [9], descr: 'Affitto mini appartamento'},
|
||||
{_id: 68, idSector: [9], descr: 'Bed & Breakfast'},
|
||||
{_id: 69, idSector: [9], descr: 'Scambio Casa'},
|
||||
{_id: 70, idSector: [10], descr: 'Parrucchiere'},
|
||||
{_id: 71, idSector: [10], descr: 'Estetista'},
|
||||
{_id: 72, idSector: [10], descr: 'Omeopatia'},
|
||||
{_id: 73, idSector: [10], descr: 'Assistenza anziani'},
|
||||
{_id: 74, idSector: [10], descr: 'Contabile/commercialista'},
|
||||
{_id: 75, idSector: [10], descr: 'Avvocato'},
|
||||
{_id: 76, idSector: [10], descr: 'Baby sitter'},
|
||||
{_id: 77, idSector: [10], descr: 'Sarto'},
|
||||
{_id: 78, idSector: [10], descr: 'Autoproduzione prodotti persona'},
|
||||
{_id: 79, idSector: [10], descr: 'Corsi e Formazione'},
|
||||
{_id: 80, idSector: [10], descr: 'Supporto spesa'},
|
||||
{_id: 81, idSector: [10], descr: 'Volontariato'},
|
||||
{_id: 82, idSector: [11], descr: 'Gruppi di acquisto'},
|
||||
{_id: 83, idSector: [11], descr: 'Banca del tempo'},
|
||||
{_id: 84, idSector: [11], descr: 'Collabora con noi'},
|
||||
{_id: 85, idSector: [11], descr: 'Eventi'},
|
||||
{_id: 86, idSector: [11], descr: 'Laboratori'},
|
||||
{_id: 87, idSector: [11], descr: 'Idee e suggerimenti'},
|
||||
{_id: 88, idSector: [12], descr: 'Medico di base '},
|
||||
{_id: 89, idSector: [12], descr: 'Specialista'},
|
||||
{_id: 90, idSector: [12], descr: 'Pediatra'},
|
||||
{_id: 91, idSector: [12], descr: 'Dentista'},
|
||||
{_id: 92, idSector: [12], descr: 'Psicologo'},
|
||||
{_id: 93, idSector: [12], descr: 'Psicoterapeuta'},
|
||||
{_id: 94, idSector: [12], descr: 'Ostetrica'},
|
||||
{_id: 95, idSector: [12], descr: 'Nutrizionista'},
|
||||
{_id: 96, idSector: [12], descr: 'Naturopata'},
|
||||
{_id: 97, idSector: [12], descr: 'Counseling'},
|
||||
{_id: 98, idSector: [13], descr: 'Assistenza PC / software'},
|
||||
{_id: 99, idSector: [13], descr: 'Assistenza Cellulari'},
|
||||
{_id: 100, idSector: [13], descr: 'Realizzazione Siti web'},
|
||||
{_id: 101, idSector: [13], descr: 'Realizzazione App / Piattaforme'},
|
||||
{_id: 102, idSector: [13], descr: 'Corsi d\'Informatica'},
|
||||
{_id: 103, idSector: [13], descr: 'Riparazione Elettrodomestici'}],
|
||||
};
|
||||
|
||||
6
src/server/populate/statusSkills.js
Normal file
6
src/server/populate/statusSkills.js
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
list: [
|
||||
{_id: 1, descr: 'Di Persona', icon:'fas fa-people-carry' },
|
||||
{_id: 2, descr: 'On Line', icon:'fas fa-desktop'},
|
||||
],
|
||||
};
|
||||
@@ -1,6 +0,0 @@
|
||||
module.exports = {
|
||||
list: [
|
||||
{_id: 1, descr: 'Di Persona'},
|
||||
{_id: 2, descr: 'On Line'},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user