diff --git a/.env b/.env new file mode 100644 index 0000000..6bf2637 --- /dev/null +++ b/.env @@ -0,0 +1,4 @@ +STRIPE_PUBLISHABLE_KEY='' +STRIPE_ACCOUNT='' +API_VERSION='' +LOCALE='' diff --git a/.gitignore b/.gitignore index 147199f..917c0b2 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ node_modules # Quasar core related directories .quasar /dist +dist.rar /quasar.config.*.temporary.compiled* # Cordova related directories and files diff --git a/api/controller/product.controller.js b/api/controller/product.controller.js new file mode 100644 index 0000000..dff060a --- /dev/null +++ b/api/controller/product.controller.js @@ -0,0 +1,58 @@ + +const productsJson = require("./products.json") +class ProductController { + findAll(req, res) { + //Gerar produtos fake + /* const fakeProducts = generateFlowers(50) + console.log(fakeProducts); */ + const params = req.query; + let productsFilter = productsJson + + if (Number(params.featured)) { + productsFilter = productsFilter.filter(item => item.featured === Number(params.featured)) + } + /*let productsFilterPages = [] + + const totalItens = params?.itens ? Number(params.itens) : 200 + const productFilterItens = params?.itens ? products.slice(0, totalItens) : products + + + if (Number(params.itensPerPage) > 1) { + const itensPerPage = Number(params.itensPerPage) + const totalPages = Math.ceil(productFilterItens.length / itensPerPage) + for (let i = 1; i <= totalPages; i++) { + const startIndex = (i - 1) * itensPerPage; + const endIndex = i * itensPerPage; + const lastestIndex = endIndex > totalItens ? totalItens : endIndex + productsFilterPages.push({ + page: i, + itensPerProduct: lastestIndex - startIndex, + products: productFilterItens.slice(startIndex, lastestIndex) + }) + } + } + else { + productsFilterPages.push({ + page: 1, + itensPerProduct: totalItens, + products: productFilterItens + }) + } */ + + return res.status(200).send({ + data: productsFilter + }) + } + + findBySlug(req, res) { + const slug = req.params.slug + const products = productsJson + const filterSlug = products.filter(item => item.slug === slug) + + return res.status(200).send({ + data: filterSlug + }) + } +} + +module.exports = new ProductController(); \ No newline at end of file diff --git a/api/controller/products.json b/api/controller/products.json new file mode 100644 index 0000000..516a6c2 --- /dev/null +++ b/api/controller/products.json @@ -0,0 +1,1657 @@ +[ + { + "id": 1, + "name": "Ergonómico Algodón Pelota", + "description": "The Football Is Good For Training And Recreational Purposes", + "price": "€113", + "specialPrice": "€37", + "slug": "978-0-330-96578-1", + "category": "Granito", + "images": [ + "https://picsum.photos/seed/JH9dPie/640/480", + "https://picsum.photos/seed/h2KQG6yc/640/480", + "https://picsum.photos/seed/WFwyX/640/480" + ], + "featured": 1, + "position": 1 + }, + { + "id": 2, + "name": "Refinado Metal Pollo", + "description": "Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support", + "price": "€126", + "specialPrice": "€53", + "slug": "978-0-9844558-6-7", + "category": "Plástico", + "images": [ + "https://picsum.photos/seed/yKV3gyI80/640/480", + "https://picsum.photos/seed/unHLnqP/640/480", + "https://picsum.photos/seed/53FPGjTYT/640/480", + "https://picsum.photos/seed/IFxZB6GXV/640/480", + "https://picsum.photos/seed/WPmRkW/640/480" + ], + "featured": 1, + "position": 2 + }, + { + "id": 3, + "name": "Práctico Madera Ensalada", + "description": "Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support", + "price": "€200", + "specialPrice": "€25", + "slug": "978-1-154-04862-9", + "category": "Metal", + "images": [ + "https://picsum.photos/seed/2vUEN/640/480", + "https://picsum.photos/seed/961SDjaXH/640/480" + ], + "featured": 0 + }, + { + "id": 4, + "name": "Increible Hormigon Camiseta", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€93", + "specialPrice": "€56", + "slug": "978-1-213-72072-5", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/GBasmlrOV/640/480", + "https://picsum.photos/seed/LN6joo2/640/480", + "https://picsum.photos/seed/wWzbx4j/640/480", + "https://picsum.photos/seed/1Nz4ysU/640/480" + ], + "featured": 1 + }, + { + "id": 5, + "name": "Sorprendente Algodón Mesa", + "description": "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive", + "price": "€34", + "specialPrice": "€49", + "slug": "978-0-7392-6231-3", + "category": "Ladrillo", + "images": [ + "https://picsum.photos/seed/dUJLXmr0/640/480", + "https://picsum.photos/seed/yjPwsBW/640/480", + "https://picsum.photos/seed/8ZgcpeSB/640/480", + "https://picsum.photos/seed/8o9RQxgUMX/640/480", + "https://picsum.photos/seed/SBoKu/640/480", + "https://picsum.photos/seed/Vyw7g0bpx2/640/480" + ], + "featured": 1 + }, + { + "id": 6, + "name": "Rústico Madera Ensalada", + "description": "New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart", + "price": "€194", + "specialPrice": "€40", + "slug": "978-1-284-04063-0", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/mQVUrz65d/640/480", + "https://picsum.photos/seed/igrWSfSZ/640/480", + "https://picsum.photos/seed/ciRaPt3/640/480", + "https://picsum.photos/seed/CuAhLLVWl/640/480", + "https://picsum.photos/seed/t0teUjmTTo/640/480" + ], + "featured": 0 + }, + { + "id": 7, + "name": "Rústico Hormigon Mesa", + "description": "Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support", + "price": "€27", + "specialPrice": "€53", + "slug": "978-1-6690-4562-5", + "category": "Ladrillo", + "images": [ + "https://picsum.photos/seed/TSj7zu/640/480", + "https://picsum.photos/seed/JNzgCUxLj6/640/480", + "https://picsum.photos/seed/SkdNDb/640/480" + ], + "featured": 0 + }, + { + "id": 8, + "name": "Rústico Metal Coche", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€26", + "specialPrice": "€21", + "slug": "978-0-09-885523-2", + "category": "Madera", + "images": [ + "https://picsum.photos/seed/0EGrrUV/640/480", + "https://picsum.photos/seed/u3mrd3X/640/480" + ], + "featured": 0 + }, + { + "id": 9, + "name": "Práctico Metal Zapatos", + "description": "Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles", + "price": "€188", + "specialPrice": "€47", + "slug": "978-0-640-37623-9", + "category": "Ladrillo", + "images": [ + "https://picsum.photos/seed/MXwOY54Ry/640/480", + "https://picsum.photos/seed/m6pqab/640/480" + ], + "featured": 1, + "position": 9 + }, + { + "id": 10, + "name": "Artesanal Granito Silla", + "description": "New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016", + "price": "€172", + "specialPrice": "€56", + "slug": "978-0-311-92573-5", + "category": "Granito", + "images": [ + "https://picsum.photos/seed/oHexBP/640/480", + "https://picsum.photos/seed/8UiGRV9/640/480", + "https://picsum.photos/seed/zjDG05/640/480", + "https://picsum.photos/seed/KAMweQmv/640/480", + "https://picsum.photos/seed/XGkjTtJz11/640/480", + "https://picsum.photos/seed/EHj8KWsq/640/480" + ], + "featured": 0 + }, + { + "id": 11, + "name": "Guapo Acero Toallas", + "description": "New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart", + "price": "€29", + "specialPrice": "€30", + "slug": "978-1-130-35237-5", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/YJaac93xt/640/480", + "https://picsum.photos/seed/A4EZfX/640/480", + "https://picsum.photos/seed/T1MpekqR6/640/480", + "https://picsum.photos/seed/zMkYSk/640/480" + ], + "featured": 1, + "position": 11 + }, + { + "id": 12, + "name": "Rústico Granito Ordenador", + "description": "Carbonite web goalkeeper gloves are ergonomically designed to give easy fit", + "price": "€29", + "specialPrice": "€55", + "slug": "978-1-5038-9221-7", + "category": "Granito", + "images": [ + "https://picsum.photos/seed/PdHPjQ4/640/480", + "https://picsum.photos/seed/GgLv2V/640/480" + ], + "featured": 0, + "position": 12 + }, + { + "id": 13, + "name": "Pequeño Metal Zapatos", + "description": "New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016", + "price": "€189", + "specialPrice": "€52", + "slug": "978-0-925111-78-4", + "category": "Hormigon", + "images": [ + "https://picsum.photos/seed/hkFCx8pbe/640/480", + "https://picsum.photos/seed/Qfsgnonns/640/480", + "https://picsum.photos/seed/AqZQ4TaOUR/640/480", + "https://picsum.photos/seed/HAmupz5Nbt/640/480", + "https://picsum.photos/seed/ffq8pt/640/480", + "https://picsum.photos/seed/l3lPOlDBK4/640/480" + ], + "featured": 1, + "position": 13 + }, + { + "id": 14, + "name": "Increible Plástico Ensalada", + "description": "The beautiful range of Apple Naturalé that has an exciting mix of natural ingredients. With the Goodness of 100% Natural Ingredients", + "price": "€128", + "specialPrice": "€44", + "slug": "978-0-688-36649-0", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/CVrt1Jr/640/480", + "https://picsum.photos/seed/2jXRVLjSW/640/480", + "https://picsum.photos/seed/AMjUQJD1CY/640/480", + "https://picsum.photos/seed/zoB2zfp3/640/480", + "https://picsum.photos/seed/6kBBSUUlw/640/480", + "https://picsum.photos/seed/P4JlwffPH1/640/480" + ], + "featured": 1 + }, + { + "id": 15, + "name": "Refinado Madera Ordenador", + "description": "Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals", + "price": "€39", + "specialPrice": "€44", + "slug": "978-0-409-27658-9", + "category": "Metal", + "images": [ + "https://picsum.photos/seed/s29CAI/640/480", + "https://picsum.photos/seed/jsZcD55W0/640/480", + "https://picsum.photos/seed/tUdhhDdC/640/480", + "https://picsum.photos/seed/guPuEND/640/480", + "https://picsum.photos/seed/0viAY2KY/640/480", + "https://picsum.photos/seed/VYaIS/640/480" + ], + "featured": 0, + "position": 15 + }, + { + "id": 16, + "name": "Rústico Hormigon Raton", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€106", + "specialPrice": "€57", + "slug": "978-0-02-263607-4", + "category": "Madera", + "images": [ + "https://picsum.photos/seed/CkrAPMN9g/640/480", + "https://picsum.photos/seed/zEuKn/640/480", + "https://picsum.photos/seed/7hM2lmPbO/640/480" + ], + "featured": 0 + }, + { + "id": 17, + "name": "Inteligente Ladrillo Bicicleta", + "description": "New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart", + "price": "€55", + "specialPrice": "€40", + "slug": "978-1-7355901-4-1", + "category": "Plástico", + "images": [ + "https://picsum.photos/seed/diRuMR/640/480", + "https://picsum.photos/seed/fttiI/640/480", + "https://picsum.photos/seed/ki1VfE/640/480", + "https://picsum.photos/seed/TAMSlnz/640/480", + "https://picsum.photos/seed/wdLpNEP4/640/480", + "https://picsum.photos/seed/RsdLp8/640/480" + ], + "featured": 1 + }, + { + "id": 18, + "name": "Artesanal Metal Coche", + "description": "The Football Is Good For Training And Recreational Purposes", + "price": "€99", + "specialPrice": "€45", + "slug": "978-1-906950-21-7", + "category": "Plástico", + "images": [ + "https://picsum.photos/seed/RysYC4/640/480", + "https://picsum.photos/seed/5ZcMhN19/640/480", + "https://picsum.photos/seed/ZyBDo/640/480" + ], + "featured": 1 + }, + { + "id": 19, + "name": "Genérico Plástico Ensalada", + "description": "Carbonite web goalkeeper gloves are ergonomically designed to give easy fit", + "price": "€30", + "specialPrice": "€47", + "slug": "978-0-86565-724-3", + "category": "Hormigon", + "images": [ + "https://picsum.photos/seed/NXofCcE87X/640/480", + "https://picsum.photos/seed/ksr2mqYZD/640/480", + "https://picsum.photos/seed/ezFMFEJ/640/480", + "https://picsum.photos/seed/Y56O06H8P/640/480" + ], + "featured": 0 + }, + { + "id": 20, + "name": "Inteligente Plástico Pescado", + "description": "Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals", + "price": "€88", + "specialPrice": "€35", + "slug": "978-1-59240-842-9", + "category": "Madera", + "images": [ + "https://picsum.photos/seed/OiDjBii/640/480", + "https://picsum.photos/seed/hIjShLf/640/480", + "https://picsum.photos/seed/aqAtUHkQx/640/480", + "https://picsum.photos/seed/CRLEeLr/640/480" + ], + "featured": 1 + }, + { + "id": 21, + "name": "Guapa Madera Teclado", + "description": "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive", + "price": "€35", + "specialPrice": "€53", + "slug": "978-1-9860-7915-0", + "category": "Madera", + "images": [ + "https://picsum.photos/seed/XEj5b15z/640/480", + "https://picsum.photos/seed/KAY5NGL/640/480" + ], + "featured": 0, + "position": 21 + }, + { + "id": 22, + "name": "Artesanal Acero Bacon", + "description": "The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design", + "price": "€24", + "specialPrice": "€42", + "slug": "978-0-574-04018-3", + "category": "Plástico", + "images": [ + "https://picsum.photos/seed/80cdm/640/480", + "https://picsum.photos/seed/XxeWG/640/480", + "https://picsum.photos/seed/dZdQhi3/640/480", + "https://picsum.photos/seed/ta9294/640/480", + "https://picsum.photos/seed/FJUDA1wZE/640/480", + "https://picsum.photos/seed/70zs5/640/480" + ], + "featured": 1 + }, + { + "id": 23, + "name": "Guapo Granito Teclado", + "description": "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive", + "price": "€127", + "specialPrice": "€43", + "slug": "978-0-8248-0927-0", + "category": "Ladrillo", + "images": [ + "https://picsum.photos/seed/1rYlrjKoZ/640/480", + "https://picsum.photos/seed/0BM4LLulDs/640/480", + "https://picsum.photos/seed/ckxYxdCV/640/480" + ], + "featured": 1 + }, + { + "id": 24, + "name": "Sabroso Madera Ordenador", + "description": "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive", + "price": "€130", + "specialPrice": "€25", + "slug": "978-0-7920-5668-3", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/URiMV6t8/640/480", + "https://picsum.photos/seed/nUgoe/640/480", + "https://picsum.photos/seed/1SAkJtnKW/640/480", + "https://picsum.photos/seed/JJ8wc/640/480" + ], + "featured": 1 + }, + { + "id": 25, + "name": "Sabroso Granito Pantalones", + "description": "New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart", + "price": "€125", + "specialPrice": "€60", + "slug": "978-1-59233-540-4", + "category": "Hormigon", + "images": [ + "https://picsum.photos/seed/eLxBcR/640/480", + "https://picsum.photos/seed/VsocYDcUz/640/480", + "https://picsum.photos/seed/xixdY8Z/640/480", + "https://picsum.photos/seed/Xrc7x2tZh/640/480" + ], + "featured": 0 + }, + { + "id": 26, + "name": "Genérico Plástico Pescado", + "description": "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive", + "price": "€35", + "specialPrice": "€26", + "slug": "978-0-7237-0947-3", + "category": "Granito", + "images": [ + "https://picsum.photos/seed/0yzhikOlJ/640/480", + "https://picsum.photos/seed/08jlh/640/480", + "https://picsum.photos/seed/vtGSBFCJ/640/480", + "https://picsum.photos/seed/Stxuzcu/640/480", + "https://picsum.photos/seed/da2w0/640/480", + "https://picsum.photos/seed/Gl25k/640/480" + ], + "featured": 0 + }, + { + "id": 27, + "name": "Pequeño Granito Pelota", + "description": "New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016", + "price": "€77", + "specialPrice": "€52", + "slug": "978-1-4765-9706-5", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/pdyXAHaTc/640/480", + "https://picsum.photos/seed/B0hEG/640/480", + "https://picsum.photos/seed/Otjhh1gHnP/640/480", + "https://picsum.photos/seed/PdriXTv5Sy/640/480", + "https://picsum.photos/seed/eIKDx/640/480", + "https://picsum.photos/seed/THcaI3/640/480" + ], + "featured": 1 + }, + { + "id": 28, + "name": "Guapa Ladrillo Salchichas", + "description": "Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles", + "price": "€146", + "specialPrice": "€20", + "slug": "978-1-05-528016-6", + "category": "Metal", + "images": [ + "https://picsum.photos/seed/e4IPBmvS0B/640/480", + "https://picsum.photos/seed/hD6xKn/640/480" + ], + "featured": 1 + }, + { + "id": 29, + "name": "Práctico Plástico Bacon", + "description": "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive", + "price": "€72", + "specialPrice": "€51", + "slug": "978-1-01-345029-7", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/ZPev9Tpky/640/480", + "https://picsum.photos/seed/g7fB4EV4/640/480", + "https://picsum.photos/seed/QKeDRA/640/480" + ], + "featured": 0, + "position": 29 + }, + { + "id": 30, + "name": "Increible Granito Mesa", + "description": "Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles", + "price": "€170", + "specialPrice": "€21", + "slug": "978-0-523-20890-9", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/duQVQ4/640/480", + "https://picsum.photos/seed/2mePIdCq/640/480", + "https://picsum.photos/seed/q6v0mpw9u/640/480", + "https://picsum.photos/seed/GiGOF7zpC/640/480", + "https://picsum.photos/seed/mzyVdeWqo4/640/480" + ], + "featured": 1, + "position": 30 + }, + { + "id": 31, + "name": "Refinado Hormigon Camiseta", + "description": "Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support", + "price": "€155", + "specialPrice": "€32", + "slug": "978-0-454-04945-9", + "category": "Ladrillo", + "images": [ + "https://picsum.photos/seed/k574ZF/640/480", + "https://picsum.photos/seed/UFA26bigFx/640/480", + "https://picsum.photos/seed/oBgKK81j38/640/480", + "https://picsum.photos/seed/nTJHUM5y/640/480", + "https://picsum.photos/seed/QnMFukw8D/640/480", + "https://picsum.photos/seed/Z6YcL/640/480" + ], + "featured": 1 + }, + { + "id": 32, + "name": "Genérico Madera Bicicleta", + "description": "The beautiful range of Apple Naturalé that has an exciting mix of natural ingredients. With the Goodness of 100% Natural Ingredients", + "price": "€132", + "specialPrice": "€38", + "slug": "978-1-86557-977-1", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/MbKHRq8T/640/480", + "https://picsum.photos/seed/msQwQJx/640/480", + "https://picsum.photos/seed/JXEas/640/480", + "https://picsum.photos/seed/NN3adg7L/640/480", + "https://picsum.photos/seed/qikAoPBvO1/640/480" + ], + "featured": 1, + "position": 32 + }, + { + "id": 33, + "name": "Práctico Madera Queso", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€34", + "specialPrice": "€56", + "slug": "978-0-356-07329-3", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/A6WRMpPu2/640/480", + "https://picsum.photos/seed/ncQLYI/640/480", + "https://picsum.photos/seed/vChXR1xG7/640/480", + "https://picsum.photos/seed/Z8EVc6QGGU/640/480" + ], + "featured": 0 + }, + { + "id": 34, + "name": "Inteligente Algodón Guantes", + "description": "Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support", + "price": "€55", + "specialPrice": "€37", + "slug": "978-0-04-972352-8", + "category": "Granito", + "images": [ + "https://picsum.photos/seed/TOSHa5/640/480", + "https://picsum.photos/seed/BNZhhu6/640/480", + "https://picsum.photos/seed/HDZoRLb/640/480", + "https://picsum.photos/seed/ZgKkO2PpJ/640/480" + ], + "featured": 0, + "position": 34 + }, + { + "id": 35, + "name": "Ergonómico Acero Salchichas", + "description": "Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles", + "price": "€141", + "specialPrice": "€27", + "slug": "978-0-08-608001-1", + "category": "Plástico", + "images": [ + "https://picsum.photos/seed/oxH2yAf/640/480", + "https://picsum.photos/seed/FAQ5A5r/640/480", + "https://picsum.photos/seed/MFncPF/640/480" + ], + "featured": 0, + "position": 35 + }, + { + "id": 36, + "name": "Artesanal Granito Gorro", + "description": "New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016", + "price": "€57", + "specialPrice": "€25", + "slug": "978-0-9921971-3-1", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/6zhKBTYMN/640/480", + "https://picsum.photos/seed/tCCkWoRr7/640/480" + ], + "featured": 1, + "position": 36 + }, + { + "id": 37, + "name": "Práctico Plástico Pescado", + "description": "Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support", + "price": "€99", + "specialPrice": "€39", + "slug": "978-0-501-95656-3", + "category": "Hormigon", + "images": [ + "https://picsum.photos/seed/mCm0n0y/640/480", + "https://picsum.photos/seed/MUnxdH/640/480", + "https://picsum.photos/seed/9p9aBGLmP/640/480", + "https://picsum.photos/seed/MlHX6K/640/480", + "https://picsum.photos/seed/CG4E6Q/640/480" + ], + "featured": 0 + }, + { + "id": 38, + "name": "Guapa Ladrillo Bacon", + "description": "The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design", + "price": "€135", + "specialPrice": "€34", + "slug": "978-1-7243-9214-5", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/Ds9sWe/640/480", + "https://picsum.photos/seed/WSVQQu6/640/480", + "https://picsum.photos/seed/MeMyYy5YDF/640/480", + "https://picsum.photos/seed/PEXYiKp/640/480", + "https://picsum.photos/seed/eBq22t/640/480" + ], + "featured": 0, + "position": 38 + }, + { + "id": 39, + "name": "Sabroso Madera Pollo", + "description": "New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart", + "price": "€139", + "specialPrice": "€22", + "slug": "978-1-879998-53-7", + "category": "Granito", + "images": [ + "https://picsum.photos/seed/Whxgwy/640/480", + "https://picsum.photos/seed/anXq6D/640/480", + "https://picsum.photos/seed/Tj11xyyg/640/480", + "https://picsum.photos/seed/6Xljd/640/480", + "https://picsum.photos/seed/SFUXc/640/480" + ], + "featured": 0, + "position": 39 + }, + { + "id": 40, + "name": "Ergonómico Ladrillo Camiseta", + "description": "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive", + "price": "€141", + "specialPrice": "€43", + "slug": "978-0-9698137-8-1", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/7vD0Q5PW/640/480", + "https://picsum.photos/seed/7P2pqCEW93/640/480", + "https://picsum.photos/seed/WmW1I31fP/640/480", + "https://picsum.photos/seed/6wzLMm/640/480" + ], + "featured": 0 + }, + { + "id": 41, + "name": "Refinado Plástico Coche", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€102", + "specialPrice": "€33", + "slug": "978-1-133-53369-6", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/0OR9k/640/480", + "https://picsum.photos/seed/kjIEOLUzQ/640/480", + "https://picsum.photos/seed/p8thZFYeSp/640/480", + "https://picsum.photos/seed/Hb8bx4f/640/480", + "https://picsum.photos/seed/81XIMa/640/480", + "https://picsum.photos/seed/LaE8OGZ9a/640/480" + ], + "featured": 0, + "position": 41 + }, + { + "id": 42, + "name": "Ergonómico Granito Ensalada", + "description": "Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support", + "price": "€103", + "specialPrice": "€29", + "slug": "978-0-09-633154-7", + "category": "Plástico", + "images": [ + "https://picsum.photos/seed/imIuNqd/640/480", + "https://picsum.photos/seed/2RmRIXY/640/480", + "https://picsum.photos/seed/0KciB/640/480", + "https://picsum.photos/seed/3dzqm/640/480", + "https://picsum.photos/seed/jhHsUu/640/480" + ], + "featured": 1 + }, + { + "id": 43, + "name": "Guapa Metal Silla", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€31", + "specialPrice": "€50", + "slug": "978-1-0380-4389-4", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/DC182cBdF/640/480", + "https://picsum.photos/seed/M7tGNzV/640/480", + "https://picsum.photos/seed/efurDAA/640/480", + "https://picsum.photos/seed/0Xzzdjm/640/480" + ], + "featured": 0 + }, + { + "id": 44, + "name": "Fantástico Ladrillo Camiseta", + "description": "The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J", + "price": "€103", + "specialPrice": "€33", + "slug": "978-1-4693-6281-6", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/Yt4cYSCxv/640/480", + "https://picsum.photos/seed/ZkxwK1/640/480", + "https://picsum.photos/seed/mPWqzNqec0/640/480" + ], + "featured": 1, + "position": 44 + }, + { + "id": 45, + "name": "Artesanal Hormigon Zapatos", + "description": "The beautiful range of Apple Naturalé that has an exciting mix of natural ingredients. With the Goodness of 100% Natural Ingredients", + "price": "€63", + "specialPrice": "€23", + "slug": "978-1-4218-4339-1", + "category": "Metal", + "images": [ + "https://picsum.photos/seed/kwQSxn/640/480", + "https://picsum.photos/seed/iTyV0EB/640/480" + ], + "featured": 0 + }, + { + "id": 46, + "name": "Pequeño Ladrillo Pescado", + "description": "New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart", + "price": "€34", + "specialPrice": "€57", + "slug": "978-0-8149-0652-1", + "category": "Ladrillo", + "images": [ + "https://picsum.photos/seed/qb7Ay/640/480", + "https://picsum.photos/seed/ZOZvZYM/640/480", + "https://picsum.photos/seed/E7b3w5PKLH/640/480", + "https://picsum.photos/seed/hBT9v/640/480", + "https://picsum.photos/seed/fGexUqzE6z/640/480" + ], + "featured": 0, + "position": 46 + }, + { + "id": 47, + "name": "Hecho a mano Metal Teclado", + "description": "The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J", + "price": "€161", + "specialPrice": "€35", + "slug": "978-1-5024-1777-0", + "category": "Hormigon", + "images": [ + "https://picsum.photos/seed/FG2OSE56/640/480", + "https://picsum.photos/seed/59oCcFx/640/480", + "https://picsum.photos/seed/UkLPf/640/480", + "https://picsum.photos/seed/flqpbUJdwD/640/480", + "https://picsum.photos/seed/L6EriVd/640/480" + ], + "featured": 0 + }, + { + "id": 48, + "name": "Práctico Algodón Mesa", + "description": "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive", + "price": "€84", + "specialPrice": "€36", + "slug": "978-0-7038-8227-1", + "category": "Granito", + "images": [ + "https://picsum.photos/seed/pgB553/640/480", + "https://picsum.photos/seed/ARKR3t8qi0/640/480", + "https://picsum.photos/seed/rmpuznUaGy/640/480" + ], + "featured": 0, + "position": 48 + }, + { + "id": 49, + "name": "Ergonómico Metal Guantes", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€155", + "specialPrice": "€24", + "slug": "978-1-122-52014-0", + "category": "Madera", + "images": [ + "https://picsum.photos/seed/3sbOBdZ8sJ/640/480", + "https://picsum.photos/seed/ni0yXqnnXd/640/480", + "https://picsum.photos/seed/1jylbk/640/480", + "https://picsum.photos/seed/jpSoMNFK/640/480" + ], + "featured": 1 + }, + { + "id": 50, + "name": "Genérico Granito Gorro", + "description": "The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J", + "price": "€173", + "specialPrice": "€26", + "slug": "978-1-63419-529-4", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/ZGDcLErJ/640/480", + "https://picsum.photos/seed/cxJx8a/640/480", + "https://picsum.photos/seed/x6v2z/640/480" + ], + "featured": 1, + "position": 50 + }, + { + "id": 51, + "name": "Sorprendente Acero Raton", + "description": "The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design", + "price": "€149", + "specialPrice": "€35", + "slug": "978-1-324-75375-9", + "category": "Madera", + "images": [ + "https://picsum.photos/seed/M2xs9P62sl/640/480", + "https://picsum.photos/seed/CRa7ExrLU/640/480", + "https://picsum.photos/seed/xgnpN/640/480", + "https://picsum.photos/seed/Sp1T7xgMt/640/480", + "https://picsum.photos/seed/2qSQxPrW/640/480" + ], + "featured": 1 + }, + { + "id": 52, + "name": "Increible Ladrillo Salchichas", + "description": "New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016", + "price": "€81", + "specialPrice": "€52", + "slug": "978-1-77863-300-3", + "category": "Hormigon", + "images": [ + "https://picsum.photos/seed/kjzU5MY/640/480", + "https://picsum.photos/seed/y1UFM8/640/480", + "https://picsum.photos/seed/81diG0J7aS/640/480" + ], + "featured": 1 + }, + { + "id": 53, + "name": "Rústico Ladrillo Gorro", + "description": "The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J", + "price": "€193", + "specialPrice": "€23", + "slug": "978-1-86340-267-5", + "category": "Hormigon", + "images": [ + "https://picsum.photos/seed/6iCZbb/640/480", + "https://picsum.photos/seed/ylPLAL/640/480", + "https://picsum.photos/seed/gdxzNIfU2/640/480" + ], + "featured": 0, + "position": 53 + }, + { + "id": 54, + "name": "Hecho a mano Hormigon Guantes", + "description": "Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles", + "price": "€159", + "specialPrice": "€28", + "slug": "978-1-3996-9414-8", + "category": "Plástico", + "images": [ + "https://picsum.photos/seed/8WAmX/640/480", + "https://picsum.photos/seed/bnIeqQPA/640/480", + "https://picsum.photos/seed/Ksxetz/640/480" + ], + "featured": 1 + }, + { + "id": 55, + "name": "Sorprendente Granito Salchichas", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€134", + "specialPrice": "€29", + "slug": "978-1-56934-754-6", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/8BkyWVEm/640/480", + "https://picsum.photos/seed/cGBzP/640/480", + "https://picsum.photos/seed/fowsh6YxI/640/480", + "https://picsum.photos/seed/E6YjYtzON/640/480" + ], + "featured": 1, + "position": 55 + }, + { + "id": 56, + "name": "Fantástico Granito Pescado", + "description": "New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016", + "price": "€125", + "specialPrice": "€32", + "slug": "978-0-905647-64-7", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/uW2tjq/640/480", + "https://picsum.photos/seed/fpx0K2hClm/640/480", + "https://picsum.photos/seed/G2gAmZl1/640/480" + ], + "featured": 1, + "position": 56 + }, + { + "id": 57, + "name": "Sabroso Algodón Pizza", + "description": "Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support", + "price": "€186", + "specialPrice": "€33", + "slug": "978-1-972153-22-2", + "category": "Hormigon", + "images": [ + "https://picsum.photos/seed/ygZhwPZi8y/640/480", + "https://picsum.photos/seed/pWOwZnYloo/640/480", + "https://picsum.photos/seed/TQ6r2/640/480", + "https://picsum.photos/seed/1Zqd64/640/480", + "https://picsum.photos/seed/Is00Ch/640/480" + ], + "featured": 0, + "position": 57 + }, + { + "id": 58, + "name": "Guapa Plástico Pollo", + "description": "New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart", + "price": "€135", + "specialPrice": "€21", + "slug": "978-1-182-41595-0", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/pjiW2/640/480", + "https://picsum.photos/seed/WJ9BV/640/480", + "https://picsum.photos/seed/CbsJe/640/480", + "https://picsum.photos/seed/KjckmCzV8s/640/480", + "https://picsum.photos/seed/eskOEZdU/640/480", + "https://picsum.photos/seed/ErZTlTk/640/480" + ], + "featured": 1, + "position": 58 + }, + { + "id": 59, + "name": "Guapa Plástico Silla", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€164", + "specialPrice": "€40", + "slug": "978-1-931439-56-5", + "category": "Plástico", + "images": [ + "https://picsum.photos/seed/J3OPDtC/640/480", + "https://picsum.photos/seed/NmYYYFQ/640/480", + "https://picsum.photos/seed/IoFUC/640/480", + "https://picsum.photos/seed/c2cyddMfl/640/480", + "https://picsum.photos/seed/eFrB6qIjUW/640/480", + "https://picsum.photos/seed/WGPPJRAA/640/480" + ], + "featured": 1 + }, + { + "id": 60, + "name": "Práctico Hormigon Ordenador", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€49", + "specialPrice": "€55", + "slug": "978-1-341-37261-2", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/nVqFbeY4x/640/480", + "https://picsum.photos/seed/lKI8qAQ/640/480", + "https://picsum.photos/seed/JD5TJaIjQ/640/480" + ], + "featured": 1, + "position": 60 + }, + { + "id": 61, + "name": "Sabroso Metal Bicicleta", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€128", + "specialPrice": "€32", + "slug": "978-0-394-68287-7", + "category": "Madera", + "images": [ + "https://picsum.photos/seed/Pop9JS/640/480", + "https://picsum.photos/seed/OFEHeOa/640/480", + "https://picsum.photos/seed/M8ERCNt/640/480", + "https://picsum.photos/seed/YPfgIzBS/640/480", + "https://picsum.photos/seed/9Na65C/640/480", + "https://picsum.photos/seed/sPSDNTA/640/480" + ], + "featured": 1, + "position": 61 + }, + { + "id": 62, + "name": "Pequeño Granito Toallas", + "description": "Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support", + "price": "€98", + "specialPrice": "€50", + "slug": "978-1-297-18741-4", + "category": "Ladrillo", + "images": [ + "https://picsum.photos/seed/8EHPFzjYLH/640/480", + "https://picsum.photos/seed/w5oufa3I7/640/480" + ], + "featured": 0, + "position": 62 + }, + { + "id": 63, + "name": "Refinado Algodón Raton", + "description": "The Football Is Good For Training And Recreational Purposes", + "price": "€188", + "specialPrice": "€52", + "slug": "978-1-248-31968-0", + "category": "Granito", + "images": [ + "https://picsum.photos/seed/PClre/640/480", + "https://picsum.photos/seed/Z0uDbtB7JZ/640/480", + "https://picsum.photos/seed/OUfrTW70Vx/640/480", + "https://picsum.photos/seed/VHiyb2g1cW/640/480", + "https://picsum.photos/seed/NzyF4/640/480" + ], + "featured": 0, + "position": 63 + }, + { + "id": 64, + "name": "Inteligente Hormigon Mesa", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€108", + "specialPrice": "€49", + "slug": "978-1-75861-031-4", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/XHdVeBnj/640/480", + "https://picsum.photos/seed/kZSCq/640/480", + "https://picsum.photos/seed/vQTDdeXd/640/480", + "https://picsum.photos/seed/cOH7BtlSf/640/480", + "https://picsum.photos/seed/zlrJQRM/640/480", + "https://picsum.photos/seed/uqFiQEoI/640/480" + ], + "featured": 1, + "position": 64 + }, + { + "id": 65, + "name": "Guapa Ladrillo Bicicleta", + "description": "Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles", + "price": "€181", + "specialPrice": "€45", + "slug": "978-1-900795-68-5", + "category": "Madera", + "images": [ + "https://picsum.photos/seed/zSs9gnFWLK/640/480", + "https://picsum.photos/seed/J6TtOvU/640/480", + "https://picsum.photos/seed/NDSwG8/640/480" + ], + "featured": 0 + }, + { + "id": 66, + "name": "Artesanal Granito Ordenador", + "description": "The Football Is Good For Training And Recreational Purposes", + "price": "€135", + "specialPrice": "€30", + "slug": "978-1-4837-9777-9", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/VqZN8f/640/480", + "https://picsum.photos/seed/gpPzgr9GI/640/480", + "https://picsum.photos/seed/NkV5la64/640/480" + ], + "featured": 0 + }, + { + "id": 67, + "name": "Inteligente Acero Ordenador", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€71", + "specialPrice": "€29", + "slug": "978-0-7356-8288-7", + "category": "Ladrillo", + "images": [ + "https://picsum.photos/seed/kOyE3a/640/480", + "https://picsum.photos/seed/C6vjXTxc/640/480", + "https://picsum.photos/seed/UcgTO/640/480", + "https://picsum.photos/seed/OpgakRKqy/640/480", + "https://picsum.photos/seed/OOAntuhFI/640/480" + ], + "featured": 1 + }, + { + "id": 68, + "name": "Hecho a mano Metal Ordenador", + "description": "New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016", + "price": "€96", + "specialPrice": "€41", + "slug": "978-1-78363-216-9", + "category": "Madera", + "images": [ + "https://picsum.photos/seed/tp3YatJ/640/480", + "https://picsum.photos/seed/FLOHDmkMu8/640/480" + ], + "featured": 0, + "position": 68 + }, + { + "id": 69, + "name": "Pequeño Madera Patatas fritas", + "description": "New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart", + "price": "€127", + "specialPrice": "€59", + "slug": "978-0-03-001557-1", + "category": "Ladrillo", + "images": [ + "https://picsum.photos/seed/xO3HsGJA/640/480", + "https://picsum.photos/seed/IFWQSQM5/640/480" + ], + "featured": 0, + "position": 69 + }, + { + "id": 70, + "name": "Ergonómico Madera Bacon", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€161", + "specialPrice": "€49", + "slug": "978-0-594-66216-7", + "category": "Madera", + "images": [ + "https://picsum.photos/seed/DPbyAPR/640/480", + "https://picsum.photos/seed/8ncEc/640/480", + "https://picsum.photos/seed/XLuu6Y/640/480" + ], + "featured": 0 + }, + { + "id": 71, + "name": "Hecho a mano Metal Patatas fritas", + "description": "Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals", + "price": "€46", + "specialPrice": "€60", + "slug": "978-1-81286-751-7", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/UAzkHS/640/480", + "https://picsum.photos/seed/AAdVugUL/640/480", + "https://picsum.photos/seed/lSmOoZBn/640/480" + ], + "featured": 1, + "position": 71 + }, + { + "id": 72, + "name": "Artesanal Plástico Mesa", + "description": "The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J", + "price": "€38", + "specialPrice": "€41", + "slug": "978-1-57541-212-2", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/yD0k3/640/480", + "https://picsum.photos/seed/MlD5NtKd/640/480", + "https://picsum.photos/seed/u9lFXo/640/480", + "https://picsum.photos/seed/8l3UAYUE7j/640/480", + "https://picsum.photos/seed/25wmeS4cZ/640/480", + "https://picsum.photos/seed/tFAXpIwgTE/640/480" + ], + "featured": 1 + }, + { + "id": 73, + "name": "Ergonómico Acero Zapatos", + "description": "Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles", + "price": "€68", + "specialPrice": "€46", + "slug": "978-1-005-35954-6", + "category": "Granito", + "images": [ + "https://picsum.photos/seed/mbwCRFAew/640/480", + "https://picsum.photos/seed/ta8ijA2MN/640/480", + "https://picsum.photos/seed/R8Pib/640/480", + "https://picsum.photos/seed/dQqKGqD8f7/640/480", + "https://picsum.photos/seed/5GDDu4/640/480", + "https://picsum.photos/seed/0hi1MXbLO/640/480" + ], + "featured": 1, + "position": 73 + }, + { + "id": 74, + "name": "Guapa Granito Ordenador", + "description": "New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016", + "price": "€66", + "specialPrice": "€50", + "slug": "978-1-123-88585-9", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/LZf92bGP/640/480", + "https://picsum.photos/seed/2uz8Dpzd5/640/480", + "https://picsum.photos/seed/sEeBljThC8/640/480", + "https://picsum.photos/seed/1gRLel745/640/480", + "https://picsum.photos/seed/vtCnxcK/640/480" + ], + "featured": 0, + "position": 74 + }, + { + "id": 75, + "name": "Inteligente Algodón Pescado", + "description": "The beautiful range of Apple Naturalé that has an exciting mix of natural ingredients. With the Goodness of 100% Natural Ingredients", + "price": "€100", + "specialPrice": "€51", + "slug": "978-1-05-905419-0", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/IxIVn/640/480", + "https://picsum.photos/seed/BF0VlxE/640/480", + "https://picsum.photos/seed/oapFmVBF/640/480", + "https://picsum.photos/seed/paJHu7/640/480" + ], + "featured": 0, + "position": 75 + }, + { + "id": 76, + "name": "Guapo Acero Coche", + "description": "The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design", + "price": "€90", + "specialPrice": "€42", + "slug": "978-0-583-06252-7", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/XnB4aWpz/640/480", + "https://picsum.photos/seed/myJ7f/640/480", + "https://picsum.photos/seed/PcFcEsb/640/480", + "https://picsum.photos/seed/SrIJi/640/480" + ], + "featured": 0 + }, + { + "id": 77, + "name": "Sabroso Hormigon Gorro", + "description": "The Football Is Good For Training And Recreational Purposes", + "price": "€108", + "specialPrice": "€38", + "slug": "978-0-944577-98-1", + "category": "Hormigon", + "images": [ + "https://picsum.photos/seed/y6lzJkKkuG/640/480", + "https://picsum.photos/seed/zRhN87T7/640/480" + ], + "featured": 1, + "position": 77 + }, + { + "id": 78, + "name": "Genérico Hormigon Guantes", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€119", + "specialPrice": "€55", + "slug": "978-0-02-315165-1", + "category": "Ladrillo", + "images": [ + "https://picsum.photos/seed/KWa9XIZ/640/480", + "https://picsum.photos/seed/6pyMtw/640/480", + "https://picsum.photos/seed/e6qodt/640/480", + "https://picsum.photos/seed/FgKc77VYNJ/640/480" + ], + "featured": 1 + }, + { + "id": 79, + "name": "Genérico Hormigon Patatas fritas", + "description": "New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016", + "price": "€89", + "specialPrice": "€21", + "slug": "978-1-183-99370-9", + "category": "Metal", + "images": [ + "https://picsum.photos/seed/4bsms/640/480", + "https://picsum.photos/seed/7zX3VnnFLc/640/480", + "https://picsum.photos/seed/MRSBKn16/640/480", + "https://picsum.photos/seed/gT8HAbfozo/640/480", + "https://picsum.photos/seed/kmGYj4uX/640/480", + "https://picsum.photos/seed/ujVI1Jtr/640/480" + ], + "featured": 1, + "position": 79 + }, + { + "id": 80, + "name": "Fantástico Hormigon Salchichas", + "description": "Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles", + "price": "€149", + "specialPrice": "€50", + "slug": "978-1-9737-1486-6", + "category": "Ladrillo", + "images": [ + "https://picsum.photos/seed/A5WYCJbA/640/480", + "https://picsum.photos/seed/1QDFgoiz/640/480", + "https://picsum.photos/seed/SWjsy/640/480", + "https://picsum.photos/seed/nFaBD/640/480" + ], + "featured": 0, + "position": 80 + }, + { + "id": 81, + "name": "Genérico Acero Ordenador", + "description": "The Football Is Good For Training And Recreational Purposes", + "price": "€172", + "specialPrice": "€22", + "slug": "978-1-6975-6930-8", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/HqJlb/640/480", + "https://picsum.photos/seed/hmesQ2rjLz/640/480", + "https://picsum.photos/seed/s6Mor/640/480", + "https://picsum.photos/seed/Trthhmo1J4/640/480" + ], + "featured": 1, + "position": 81 + }, + { + "id": 82, + "name": "Sorprendente Granito Sopa", + "description": "Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles", + "price": "€21", + "specialPrice": "€37", + "slug": "978-0-08-728984-0", + "category": "Granito", + "images": [ + "https://picsum.photos/seed/hGiUg/640/480", + "https://picsum.photos/seed/cglme/640/480", + "https://picsum.photos/seed/HRFf6n5/640/480", + "https://picsum.photos/seed/SQ2Tfv2FZ/640/480" + ], + "featured": 0 + }, + { + "id": 83, + "name": "Fantástico Ladrillo Pantalones", + "description": "The beautiful range of Apple Naturalé that has an exciting mix of natural ingredients. With the Goodness of 100% Natural Ingredients", + "price": "€47", + "specialPrice": "€53", + "slug": "978-1-218-66481-9", + "category": "Madera", + "images": [ + "https://picsum.photos/seed/3iNKb47jVR/640/480", + "https://picsum.photos/seed/jojjveYE/640/480", + "https://picsum.photos/seed/tj5eAM5rT/640/480", + "https://picsum.photos/seed/gCsMt/640/480" + ], + "featured": 0, + "position": 83 + }, + { + "id": 84, + "name": "Ergonómico Madera Teclado", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€169", + "specialPrice": "€22", + "slug": "978-0-679-81348-4", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/UtjQy/640/480", + "https://picsum.photos/seed/1KCHfF6tuf/640/480", + "https://picsum.photos/seed/ZAGrr5U/640/480", + "https://picsum.photos/seed/OqQaNND/640/480", + "https://picsum.photos/seed/VzdyH/640/480" + ], + "featured": 0, + "position": 84 + }, + { + "id": 85, + "name": "Guapo Acero Sopa", + "description": "The slim & simple Maple Gaming Keyboard from Dev Byte comes with a sleek body and 7- Color RGB LED Back-lighting for smart functionality", + "price": "€165", + "specialPrice": "€39", + "slug": "978-1-4971-9271-3", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/7cJAXY7YgC/640/480", + "https://picsum.photos/seed/j1hxqljXd/640/480" + ], + "featured": 0 + }, + { + "id": 86, + "name": "Artesanal Hormigon Pizza", + "description": "The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J", + "price": "€146", + "specialPrice": "€59", + "slug": "978-1-208-99565-7", + "category": "Plástico", + "images": [ + "https://picsum.photos/seed/TwcwlqBRs/640/480", + "https://picsum.photos/seed/wjVVcxqpE/640/480", + "https://picsum.photos/seed/b3jqK1QxSo/640/480", + "https://picsum.photos/seed/i9EKiBjLS/640/480", + "https://picsum.photos/seed/JFj1G/640/480", + "https://picsum.photos/seed/jpHibCB0/640/480" + ], + "featured": 1 + }, + { + "id": 87, + "name": "Pequeño Ladrillo Queso", + "description": "The beautiful range of Apple Naturalé that has an exciting mix of natural ingredients. With the Goodness of 100% Natural Ingredients", + "price": "€81", + "specialPrice": "€20", + "slug": "978-0-85268-200-5", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/Tk0ky3b/640/480", + "https://picsum.photos/seed/ykM95k0/640/480" + ], + "featured": 1 + }, + { + "id": 88, + "name": "Sabroso Granito Pelota", + "description": "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive", + "price": "€137", + "specialPrice": "€53", + "slug": "978-1-139-33774-8", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/FS46tC/640/480", + "https://picsum.photos/seed/VKVWlzG/640/480", + "https://picsum.photos/seed/JCupotSG4/640/480", + "https://picsum.photos/seed/ZgMcaWQ/640/480", + "https://picsum.photos/seed/rxDJdZ5YhG/640/480", + "https://picsum.photos/seed/YBSbF52/640/480" + ], + "featured": 0 + }, + { + "id": 89, + "name": "Artesanal Plástico Pollo", + "description": "Boston's most advanced compression wear technology increases muscle oxygenation, stabilizes active muscles", + "price": "€113", + "specialPrice": "€24", + "slug": "978-0-622-48993-3", + "category": "Acero", + "images": [ + "https://picsum.photos/seed/I1Hdq/640/480", + "https://picsum.photos/seed/gml38gVes9/640/480" + ], + "featured": 0 + }, + { + "id": 90, + "name": "Refinado Algodón Pollo", + "description": "The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design", + "price": "€159", + "specialPrice": "€54", + "slug": "978-0-212-43855-6", + "category": "Metal", + "images": [ + "https://picsum.photos/seed/OYtsqcLt/640/480", + "https://picsum.photos/seed/dIR0VA/640/480", + "https://picsum.photos/seed/j2VMki/640/480", + "https://picsum.photos/seed/oAUJizLD/640/480" + ], + "featured": 0, + "position": 90 + }, + { + "id": 91, + "name": "Refinado Ladrillo Salchichas", + "description": "The Football Is Good For Training And Recreational Purposes", + "price": "€111", + "specialPrice": "€52", + "slug": "978-1-58184-209-8", + "category": "Plástico", + "images": [ + "https://picsum.photos/seed/PnFv2dXxa/640/480", + "https://picsum.photos/seed/Gpg2EX/640/480", + "https://picsum.photos/seed/x7Mttzp/640/480", + "https://picsum.photos/seed/q8umE1g/640/480", + "https://picsum.photos/seed/ottxxTr/640/480", + "https://picsum.photos/seed/U1uxYH/640/480" + ], + "featured": 1, + "position": 91 + }, + { + "id": 92, + "name": "Genérico Granito Pescado", + "description": "The Apollotech B340 is an affordable wireless mouse with reliable connectivity, 12 months battery life and modern design", + "price": "€193", + "specialPrice": "€47", + "slug": "978-1-78675-491-2", + "category": "Hormigon", + "images": [ + "https://picsum.photos/seed/T7zknDEA81/640/480", + "https://picsum.photos/seed/Uz7r9gmFw/640/480", + "https://picsum.photos/seed/C7QnK74d/640/480", + "https://picsum.photos/seed/rTme53M/640/480", + "https://picsum.photos/seed/hGLAv0xx/640/480" + ], + "featured": 0, + "position": 92 + }, + { + "id": 93, + "name": "Guapa Granito Raton", + "description": "Carbonite web goalkeeper gloves are ergonomically designed to give easy fit", + "price": "€59", + "specialPrice": "€49", + "slug": "978-0-206-27519-8", + "category": "Algodón", + "images": [ + "https://picsum.photos/seed/U0yNxq/640/480", + "https://picsum.photos/seed/MqxI1kFPH/640/480", + "https://picsum.photos/seed/9TbIUTpQ/640/480" + ], + "featured": 1 + }, + { + "id": 94, + "name": "Artesanal Granito Silla", + "description": "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive", + "price": "€99", + "specialPrice": "€59", + "slug": "978-1-78829-362-4", + "category": "Hormigon", + "images": [ + "https://picsum.photos/seed/HWnLPO/640/480", + "https://picsum.photos/seed/jErkSvs0/640/480", + "https://picsum.photos/seed/lG2KTjTLZ/640/480", + "https://picsum.photos/seed/Qy4pmwoT/640/480", + "https://picsum.photos/seed/WJhaFYsz5/640/480", + "https://picsum.photos/seed/vTCrquOUM/640/480" + ], + "featured": 1, + "position": 94 + }, + { + "id": 95, + "name": "Inteligente Ladrillo Guantes", + "description": "The Football Is Good For Training And Recreational Purposes", + "price": "€66", + "specialPrice": "€31", + "slug": "978-0-437-28956-8", + "category": "Plástico", + "images": [ + "https://picsum.photos/seed/e9QdJFx/640/480", + "https://picsum.photos/seed/HrzhF/640/480", + "https://picsum.photos/seed/6S53na76/640/480" + ], + "featured": 1 + }, + { + "id": 96, + "name": "Guapo Ladrillo Silla", + "description": "The Football Is Good For Training And Recreational Purposes", + "price": "€194", + "specialPrice": "€32", + "slug": "978-0-555-46871-5", + "category": "Plástico", + "images": [ + "https://picsum.photos/seed/zVLi6Awq/640/480", + "https://picsum.photos/seed/aVIdXP1h/640/480" + ], + "featured": 1, + "position": 96 + }, + { + "id": 97, + "name": "Genérico Madera Silla", + "description": "New ABC 13 9370, 13.3, 5th Gen CoreA5-8250U, 8GB RAM, 256GB SSD, power UHD Graphics, OS 10 Home, OS Office A & J 2016", + "price": "€140", + "specialPrice": "€20", + "slug": "978-0-89331-225-1", + "category": "Hormigon", + "images": [ + "https://picsum.photos/seed/ECO5c5NqX/640/480", + "https://picsum.photos/seed/v6JZqsJ/640/480", + "https://picsum.photos/seed/5OOyP1KCf/640/480", + "https://picsum.photos/seed/KS2cvX8tt/640/480" + ], + "featured": 1, + "position": 97 + }, + { + "id": 98, + "name": "Hecho a mano Algodón Ordenador", + "description": "Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals", + "price": "€150", + "specialPrice": "€48", + "slug": "978-1-05-994044-8", + "category": "Granito", + "images": [ + "https://picsum.photos/seed/piI5lsx0nd/640/480", + "https://picsum.photos/seed/7ku9MSBNDN/640/480" + ], + "featured": 0, + "position": 98 + }, + { + "id": 99, + "name": "Sorprendente Hormigon Raton", + "description": "New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart", + "price": "€182", + "specialPrice": "€48", + "slug": "978-1-964085-45-6", + "category": "Ladrillo", + "images": [ + "https://picsum.photos/seed/oarOs3BBU/640/480", + "https://picsum.photos/seed/KmjYN/640/480" + ], + "featured": 1, + "position": 99 + }, + { + "id": 100, + "name": "Hecho a mano Algodón Queso", + "description": "Carbonite web goalkeeper gloves are ergonomically designed to give easy fit", + "price": "€184", + "specialPrice": "€26", + "slug": "978-0-05-016160-9", + "category": "Ladrillo", + "images": [ + "https://picsum.photos/seed/ACC1SNHN/640/480", + "https://picsum.photos/seed/sOGtUVhZ/640/480", + "https://picsum.photos/seed/13uqWnh/640/480", + "https://picsum.photos/seed/MtIkBUG4/640/480" + ], + "featured": 1 + } +] diff --git a/api/index.html b/api/index.html new file mode 100644 index 0000000..a2159c1 --- /dev/null +++ b/api/index.html @@ -0,0 +1,14 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git a/api/index.js b/api/index.js new file mode 100644 index 0000000..240daa2 --- /dev/null +++ b/api/index.js @@ -0,0 +1,27 @@ +const cors = require('cors'); +const express = require('express'); +const path = require('path'); +const productController = require('./controller/product.controller'); + +const app = express(); +const port = 9999; + +const allowedOrigins = ['http://localhost:9100', 'https://floranet.onecommerce.dev/']; +const corsOptions = { + origin: allowedOrigins, + optionsSuccessStatus: 200, +}; +app.use(cors(corsOptions)); + +app.get('/', (req, res) => { + const indexPath = path.join(__dirname, './', 'index.html'); + res.sendFile(indexPath); +}); + +//Products +app.get('/api/products', productController.findAll); +app.get('/api/products/slug/:slug', productController.findBySlug); + +app.listen(port, () => { + console.log(`Server listening at http://localhost:${port}`); +}); \ No newline at end of file diff --git a/api/package-lock.json b/api/package-lock.json new file mode 100644 index 0000000..68a648d --- /dev/null +++ b/api/package-lock.json @@ -0,0 +1,951 @@ +{ + "name": "api", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "api", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "@faker-js/faker": "^8.3.1", + "class-validator": "^0.14.0", + "cors": "^2.8.5", + "dotenv": "^16.3.1", + "express": "^4.18.2", + "reflect-metadata": "^0.2.1" + }, + "devDependencies": { + "@types/cors": "^2.8.17", + "@types/node": "^20.10.7", + "ts-node": "^10.9.2", + "typescript": "^5.3.3" + } + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@faker-js/faker": { + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-8.3.1.tgz", + "integrity": "sha512-FdgpFxY6V6rLZE9mmIBb9hM0xpfvQOSNOLnzolzKwsE1DH+gC7lEKV1p1IbR0lAYyvYd5a4u3qWJzowUkw1bIw==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/fakerjs" + } + ], + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0", + "npm": ">=6.14.13" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", + "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "dev": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@tsconfig/node10": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", + "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", + "dev": true + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true + }, + "node_modules/@types/cors": { + "version": "2.8.17", + "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.17.tgz", + "integrity": "sha512-8CGDvrBj1zgo2qE+oS3pOCyYNqCPryMWY2bGfwA0dcfopWGgxs+78df0Rs3rc9THP4JkOhLsAa+15VdpAqkcUA==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/node": { + "version": "20.10.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.8.tgz", + "integrity": "sha512-f8nQs3cLxbAFc00vEU59yf9UyGUftkPaLGfvbVOIDdx2i1b8epBqj2aNGyP19fiyXWvlmZ7qC1XLjAzw/OKIeA==", + "dev": true, + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/@types/validator": { + "version": "13.11.7", + "resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.11.7.tgz", + "integrity": "sha512-q0JomTsJ2I5Mv7dhHhQLGjMvX0JJm5dyZ1DXQySIUzU1UlwzB8bt+R6+LODUbz0UDIOvEzGc28tk27gBJw2N8Q==" + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acorn": { + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.1.tgz", + "integrity": "sha512-TgUZgYvqZprrl7YldZNoa9OciCAyZR+Ejm9eXzKCmjsF5IKp/wgQ7Z/ZpjpGTIUPwrHQIcYeI8qDh4PsEwxMbw==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" + }, + "node_modules/body-parser": { + "version": "1.20.1", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", + "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", + "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", + "dependencies": { + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/class-validator": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/class-validator/-/class-validator-0.14.0.tgz", + "integrity": "sha512-ct3ltplN8I9fOwUd8GrP8UQixwff129BkEtuWDKL5W45cQuLd19xqmTLu5ge78YDm/fdje6FMt0hGOhl0lii3A==", + "dependencies": { + "@types/validator": "^13.7.10", + "libphonenumber-js": "^1.10.14", + "validator": "^13.7.0" + } + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", + "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" + }, + "node_modules/cors": { + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", + "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true + }, + "node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/define-data-property": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", + "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "dependencies": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true, + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/dotenv": { + "version": "16.3.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", + "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/motdotla/dotenv?sponsor=1" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express": { + "version": "4.18.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz", + "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.1", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/finalhandler": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", + "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", + "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", + "dependencies": { + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", + "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "dependencies": { + "get-intrinsic": "^1.2.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/libphonenumber-js": { + "version": "1.10.53", + "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.53.tgz", + "integrity": "sha512-sDTnnqlWK4vH4AlDQuswz3n4Hx7bIQWTpIcScJX+Sp7St3LXHmfiax/ZFfyYxHmkdCvydOLSuvtAO/XpXiSySw==" + }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", + "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/reflect-metadata": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.1.tgz", + "integrity": "sha512-i5lLI6iw9AU3Uu4szRNPPEkomnkjRTaVt9hy/bn5g/oSzekBSMeLZblcjP74AW0vBabqERLLIrz+gR8QYR54Tw==" + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/send": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", + "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/serve-static": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", + "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/set-function-length": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", + "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", + "dependencies": { + "define-data-property": "^1.1.1", + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/typescript": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true + }, + "node_modules/validator": { + "version": "13.11.0", + "resolved": "https://registry.npmjs.org/validator/-/validator-13.11.0.tgz", + "integrity": "sha512-Ii+sehpSfZy+At5nPdnyMhx78fEoPDkR2XW/zimHEL3MyGJQOCQ7WeP20jPYRz7ZCpcKLB21NxuXHF3bxjStBQ==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "engines": { + "node": ">=6" + } + } + } +} diff --git a/api/package.json b/api/package.json new file mode 100644 index 0000000..879cd23 --- /dev/null +++ b/api/package.json @@ -0,0 +1,15 @@ +{ + "name": "backend", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "express": "^4.18.2" + } +} diff --git a/package-lock.json b/package-lock.json index 1f42626..c6a94a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "dependencies": { "@quasar/extras": "^1.16.4", "@vee-validate/zod": "^4.12.2", + "@vue-stripe/vue-stripe": "^4.5.0", "@vueuse/core": "^10.7.0", "axios": "^1.2.1", "pinia": "^2.0.11", @@ -31,7 +32,9 @@ "eslint-plugin-vue": "^9.0.0", "json-server": "^0.17.4", "postcss": "^8.4.14", - "prettier": "^2.5.1" + "prettier": "^2.5.1", + "ts-node": "^10.9.2", + "typescript": "^5.3.3" }, "engines": { "node": "^18 || ^16 || ^14.19", @@ -59,6 +62,18 @@ "node": ">=6.0.0" } }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -107,9 +122,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.55.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.55.0.tgz", - "integrity": "sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA==", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", + "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -189,12 +204,12 @@ } }, "node_modules/@intlify/core-base": { - "version": "9.8.0", - "resolved": "https://registry.npmjs.org/@intlify/core-base/-/core-base-9.8.0.tgz", - "integrity": "sha512-UxaSZVZ1DwqC/CltUZrWZNaWNhfmKtfyV4BJSt/Zt4Or/fZs1iFj0B+OekYk1+MRHfIOe3+x00uXGQI4PbO/9g==", + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/@intlify/core-base/-/core-base-9.9.0.tgz", + "integrity": "sha512-C7UXPymDIOlMGSNjAhNLtKgzITc/8BjINK5gNKXg8GiWCTwL6n3MWr55czksxn8RM5wTMz0qcLOFT+adtaVQaA==", "dependencies": { - "@intlify/message-compiler": "9.8.0", - "@intlify/shared": "9.8.0" + "@intlify/message-compiler": "9.9.0", + "@intlify/shared": "9.9.0" }, "engines": { "node": ">= 16" @@ -204,11 +219,11 @@ } }, "node_modules/@intlify/message-compiler": { - "version": "9.8.0", - "resolved": "https://registry.npmjs.org/@intlify/message-compiler/-/message-compiler-9.8.0.tgz", - "integrity": "sha512-McnYWhcoYmDJvssVu6QGR0shqlkJuL1HHdi5lK7fNqvQqRYaQ4lSLjYmZxwc8tRNMdIe9/KUKfyPxU9M6yCtNQ==", + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/@intlify/message-compiler/-/message-compiler-9.9.0.tgz", + "integrity": "sha512-yDU/jdUm9KuhEzYfS+wuyja209yXgdl1XFhMlKtXEgSFTxz4COZQCRXXbbH8JrAjMsaJ7bdoPSLsKlY6mXG2iA==", "dependencies": { - "@intlify/shared": "9.8.0", + "@intlify/shared": "9.9.0", "source-map-js": "^1.0.2" }, "engines": { @@ -219,9 +234,9 @@ } }, "node_modules/@intlify/shared": { - "version": "9.8.0", - "resolved": "https://registry.npmjs.org/@intlify/shared/-/shared-9.8.0.tgz", - "integrity": "sha512-TmgR0RCLjzrSo+W3wT0ALf9851iFMlVI9EYNGeWvZFUQTAJx0bvfsMlPdgVtV1tDNRiAfhkFsMKu6jtUY1ZLKQ==", + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/@intlify/shared/-/shared-9.9.0.tgz", + "integrity": "sha512-1ECUyAHRrzOJbOizyGufYP2yukqGrWXtkmTu4PcswVnWbkcjzk3YQGmJ0bLkM7JZ0ZYAaohLGdYvBYnTOGYJ9g==", "engines": { "node": ">= 16" }, @@ -259,11 +274,30 @@ } } }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", + "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/@jridgewell/sourcemap-codec": { "version": "1.4.15", "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -384,6 +418,22 @@ } } }, + "node_modules/@quasar/app-vite/node_modules/fast-glob": { + "version": "3.2.12", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", + "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, "node_modules/@quasar/extras": { "version": "1.16.9", "resolved": "https://registry.npmjs.org/@quasar/extras/-/extras-1.16.9.tgz", @@ -441,6 +491,35 @@ "node": ">= 8.0.0" } }, + "node_modules/@stripe/stripe-js": { + "version": "1.54.2", + "resolved": "https://registry.npmjs.org/@stripe/stripe-js/-/stripe-js-1.54.2.tgz", + "integrity": "sha512-R1PwtDvUfs99cAjfuQ/WpwJ3c92+DAMy9xGApjqlWQMj0FKQabUAys2swfTRNzuYAYJh7NqK2dzcYVNkKLEKUg==" + }, + "node_modules/@tsconfig/node10": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", + "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", + "dev": true + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true + }, "node_modules/@types/body-parser": { "version": "1.19.5", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", @@ -543,15 +622,18 @@ "dev": true }, "node_modules/@types/node": { - "version": "12.20.55", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", - "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==", - "dev": true + "version": "20.10.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.8.tgz", + "integrity": "sha512-f8nQs3cLxbAFc00vEU59yf9UyGUftkPaLGfvbVOIDdx2i1b8epBqj2aNGyP19fiyXWvlmZ7qC1XLjAzw/OKIeA==", + "dev": true, + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/qs": { - "version": "6.9.10", - "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.10.tgz", - "integrity": "sha512-3Gnx08Ns1sEoCrWssEgTSJs/rsT2vhGP+Ja9cnnk9k4ALxinORlQneLXFeFKOTJMOeZUFD1s7w+w2AphTpvzZw==", + "version": "6.9.11", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.11.tgz", + "integrity": "sha512-oGk0gmhnEJK4Yyk+oI7EfXsLayXatCWPHary1MtcmbAifkobT9cM9yutG/hZKIseOU0MqbIwQ/u2nn/Gb+ltuQ==", "dev": true }, "node_modules/@types/range-parser": { @@ -593,12 +675,12 @@ "dev": true }, "node_modules/@vee-validate/zod": { - "version": "4.12.2", - "resolved": "https://registry.npmjs.org/@vee-validate/zod/-/zod-4.12.2.tgz", - "integrity": "sha512-+g9lk8hO0FJCDGfjhuxUtFV44NVowu7cBvJiNr2x8DpWhBUXcfcE+XAJB0JjDQeT1O9lgO+mskZ+k8EdbAk0xw==", + "version": "4.12.4", + "resolved": "https://registry.npmjs.org/@vee-validate/zod/-/zod-4.12.4.tgz", + "integrity": "sha512-iNFhkBfGkre2b+eBXgBpNlNVStxDrI59sJUbzBr01EjyTkFOUgc/0wPJrhY/kBp+0pnGzNi04jklJaKfNK2ibg==", "dependencies": { - "type-fest": "^4.8.2", - "vee-validate": "4.12.2", + "type-fest": "^4.8.3", + "vee-validate": "4.12.4", "zod": "^3.22.4" } }, @@ -615,37 +697,46 @@ "vue": "^3.2.25" } }, - "node_modules/@vue/compiler-core": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.11.tgz", - "integrity": "sha512-h97/TGWBilnLuRaj58sxNrsUU66fwdRKLOLQ9N/5iNDfp+DZhYH9Obhe0bXxhedl8fjAgpRANpiZfbgWyruQ0w==", + "node_modules/@vue-stripe/vue-stripe": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@vue-stripe/vue-stripe/-/vue-stripe-4.5.0.tgz", + "integrity": "sha512-BU449XT5zegjNQirl+SSztbzGIvPjhxlHv8ybomSZcI1jB6qEpLgpk2eHMFDKnOGZZRhqtg4C5FiErwSJ/yuRw==", "dependencies": { - "@babel/parser": "^7.23.5", - "@vue/shared": "3.3.11", + "@stripe/stripe-js": "^1.13.2", + "vue-coerce-props": "^1.0.0" + } + }, + "node_modules/@vue/compiler-core": { + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.7.tgz", + "integrity": "sha512-hhCaE3pTMrlIJK7M/o3Xf7HV8+JoNTGOQ/coWS+V+pH6QFFyqtoXqQzpqsNp7UK17xYKua/MBiKj4e1vgZOBYw==", + "dependencies": { + "@babel/parser": "^7.23.6", + "@vue/shared": "3.4.7", + "entities": "^4.5.0", "estree-walker": "^2.0.2", "source-map-js": "^1.0.2" } }, "node_modules/@vue/compiler-dom": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.11.tgz", - "integrity": "sha512-zoAiUIqSKqAJ81WhfPXYmFGwDRuO+loqLxvXmfUdR5fOitPoUiIeFI9cTTyv9MU5O1+ZZglJVTusWzy+wfk5hw==", + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.7.tgz", + "integrity": "sha512-qDKBAIurCTub4n/6jDYkXwgsFuriqqmmLrIq1N2QDfYJA/mwiwvxi09OGn28g+uDdERX9NaKDLji0oTjE3sScg==", "dependencies": { - "@vue/compiler-core": "3.3.11", - "@vue/shared": "3.3.11" + "@vue/compiler-core": "3.4.7", + "@vue/shared": "3.4.7" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.11.tgz", - "integrity": "sha512-U4iqPlHO0KQeK1mrsxCN0vZzw43/lL8POxgpzcJweopmqtoYy9nljJzWDIQS3EfjiYhfdtdk9Gtgz7MRXnz3GA==", + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.7.tgz", + "integrity": "sha512-Gec6CLkReVswDYjQFq79O5rktri4R7TsD/VPCiUoJw40JhNNxaNJJa8mrQrWoJluW4ETy6QN0NUyC/JO77OCOw==", "dependencies": { - "@babel/parser": "^7.23.5", - "@vue/compiler-core": "3.3.11", - "@vue/compiler-dom": "3.3.11", - "@vue/compiler-ssr": "3.3.11", - "@vue/reactivity-transform": "3.3.11", - "@vue/shared": "3.3.11", + "@babel/parser": "^7.23.6", + "@vue/compiler-core": "3.4.7", + "@vue/compiler-dom": "3.4.7", + "@vue/compiler-ssr": "3.4.7", + "@vue/shared": "3.4.7", "estree-walker": "^2.0.2", "magic-string": "^0.30.5", "postcss": "^8.4.32", @@ -653,12 +744,12 @@ } }, "node_modules/@vue/compiler-ssr": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.11.tgz", - "integrity": "sha512-Zd66ZwMvndxRTgVPdo+muV4Rv9n9DwQ4SSgWWKWkPFebHQfVYRrVjeygmmDmPewsHyznCNvJ2P2d6iOOhdv8Qg==", + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.7.tgz", + "integrity": "sha512-PvYeSOvnCkST5mGS0TLwEn5w+4GavtEn6adcq8AspbHaIr+mId5hp7cG3ASy3iy8b+LuXEG2/QaV/nj5BQ/Aww==", "dependencies": { - "@vue/compiler-dom": "3.3.11", - "@vue/shared": "3.3.11" + "@vue/compiler-dom": "3.4.7", + "@vue/shared": "3.4.7" } }, "node_modules/@vue/devtools-api": { @@ -667,69 +758,57 @@ "integrity": "sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==" }, "node_modules/@vue/reactivity": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.11.tgz", - "integrity": "sha512-D5tcw091f0nuu+hXq5XANofD0OXnBmaRqMYl5B3fCR+mX+cXJIGNw/VNawBqkjLNWETrFW0i+xH9NvDbTPVh7g==", + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.7.tgz", + "integrity": "sha512-F539DO0ogH0+L8F9Pnw7cjqibcmSOh5UTk16u5f4MKQ8fraqepI9zdh+sozPX6VmEHOcjo8qw3Or9ZcFFw4SZA==", "dependencies": { - "@vue/shared": "3.3.11" - } - }, - "node_modules/@vue/reactivity-transform": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.11.tgz", - "integrity": "sha512-fPGjH0wqJo68A0wQ1k158utDq/cRyZNlFoxGwNScE28aUFOKFEnCBsvyD8jHn+0kd0UKVpuGuaZEQ6r9FJRqCg==", - "dependencies": { - "@babel/parser": "^7.23.5", - "@vue/compiler-core": "3.3.11", - "@vue/shared": "3.3.11", - "estree-walker": "^2.0.2", - "magic-string": "^0.30.5" + "@vue/shared": "3.4.7" } }, "node_modules/@vue/runtime-core": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.11.tgz", - "integrity": "sha512-g9ztHGwEbS5RyWaOpXuyIVFTschclnwhqEbdy5AwGhYOgc7m/q3NFwr50MirZwTTzX55JY8pSkeib9BX04NIpw==", + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.7.tgz", + "integrity": "sha512-QMMsWRQaD3BpGyjjChthpl4Mji4Fjx1qfdufsXlDkKU3HV+hWNor2z+29F+E1MmVcP0ZfRZUfqYgtsQoL7IGwQ==", "dependencies": { - "@vue/reactivity": "3.3.11", - "@vue/shared": "3.3.11" + "@vue/reactivity": "3.4.7", + "@vue/shared": "3.4.7" } }, "node_modules/@vue/runtime-dom": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.11.tgz", - "integrity": "sha512-OlhtV1PVpbgk+I2zl+Y5rQtDNcCDs12rsRg71XwaA2/Rbllw6mBLMi57VOn8G0AjOJ4Mdb4k56V37+g8ukShpQ==", + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.7.tgz", + "integrity": "sha512-XwegyUY1rw8zxsX1Z36vwYcqo+uOgih5ti7y9vx+pPFhNdSQmN4LqK2RmSeAJG1oKV8NqSUmjpv92f/x6h0SeQ==", "dependencies": { - "@vue/runtime-core": "3.3.11", - "@vue/shared": "3.3.11", - "csstype": "^3.1.2" + "@vue/runtime-core": "3.4.7", + "@vue/shared": "3.4.7", + "csstype": "^3.1.3" } }, "node_modules/@vue/server-renderer": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.11.tgz", - "integrity": "sha512-AIWk0VwwxCAm4wqtJyxBylRTXSy1wCLOKbWxHaHiu14wjsNYtiRCSgVuqEPVuDpErOlRdNnuRgipQfXRLjLN5A==", + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.7.tgz", + "integrity": "sha512-3bWnYLEkLLhkDWqvNk7IvbQD4UcxvFKxELBiOO2iG3m6AniFIsBWfHOO5tLVQnjdWkODu4rq0GipmfEenVAK5Q==", "dependencies": { - "@vue/compiler-ssr": "3.3.11", - "@vue/shared": "3.3.11" + "@vue/compiler-ssr": "3.4.7", + "@vue/shared": "3.4.7" }, "peerDependencies": { - "vue": "3.3.11" + "vue": "3.4.7" } }, "node_modules/@vue/shared": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.11.tgz", - "integrity": "sha512-u2G8ZQ9IhMWTMXaWqZycnK4UthG1fA238CD+DP4Dm4WJi5hdUKKLg0RMRaRpDPNMdkTwIDkp7WtD0Rd9BH9fLw==" + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.7.tgz", + "integrity": "sha512-G+i4glX1dMJk88sbJEcQEGWRQnVm9eIY7CcQbO5dpdsD9SF8jka3Mr5OqZYGjczGN1+D6EUwdu6phcmcx9iuPA==" }, "node_modules/@vueuse/core": { - "version": "10.7.0", - "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.7.0.tgz", - "integrity": "sha512-4EUDESCHtwu44ZWK3Gc/hZUVhVo/ysvdtwocB5vcauSV4B7NiGY5972WnsojB3vRNdxvAt7kzJWE2h9h7C9d5w==", + "version": "10.7.1", + "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-10.7.1.tgz", + "integrity": "sha512-74mWHlaesJSWGp1ihg76vAnfVq9NTv1YT0SYhAQ6zwFNdBkkP+CKKJmVOEHcdSnLXCXYiL5e7MaewblfiYLP7g==", "dependencies": { "@types/web-bluetooth": "^0.0.20", - "@vueuse/metadata": "10.7.0", - "@vueuse/shared": "10.7.0", + "@vueuse/metadata": "10.7.1", + "@vueuse/shared": "10.7.1", "vue-demi": ">=0.14.6" }, "funding": { @@ -762,17 +841,17 @@ } }, "node_modules/@vueuse/metadata": { - "version": "10.7.0", - "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.7.0.tgz", - "integrity": "sha512-GlaH7tKP2iBCZ3bHNZ6b0cl9g0CJK8lttkBNUX156gWvNYhTKEtbweWLm9rxCPIiwzYcr/5xML6T8ZUEt+DkvA==", + "version": "10.7.1", + "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-10.7.1.tgz", + "integrity": "sha512-jX8MbX5UX067DYVsbtrmKn6eG6KMcXxLRLlurGkZku5ZYT3vxgBjui2zajvUZ18QLIjrgBkFRsu7CqTAg18QFw==", "funding": { "url": "https://github.com/sponsors/antfu" } }, "node_modules/@vueuse/shared": { - "version": "10.7.0", - "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.7.0.tgz", - "integrity": "sha512-kc00uV6CiaTdc3i1CDC4a3lBxzaBE9AgYNtFN87B5OOscqeWElj/uza8qVDmk7/U8JbqoONLbtqiLJ5LGRuqlw==", + "version": "10.7.1", + "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-10.7.1.tgz", + "integrity": "sha512-v0jbRR31LSgRY/C5i5X279A/WQjD6/JsMzGa+eqt658oJ75IvQXAeONmwvEMrvJQKnRElq/frzBR7fhmWY5uLw==", "dependencies": { "vue-demi": ">=0.14.6" }, @@ -819,9 +898,9 @@ } }, "node_modules/acorn": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", - "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -839,6 +918,15 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/acorn-walk": { + "version": "8.3.1", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.1.tgz", + "integrity": "sha512-TgUZgYvqZprrl7YldZNoa9OciCAyZR+Ejm9eXzKCmjsF5IKp/wgQ7Z/ZpjpGTIUPwrHQIcYeI8qDh4PsEwxMbw==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -982,6 +1070,12 @@ "safe-buffer": "~5.1.0" } }, + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true + }, "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -1052,11 +1146,11 @@ } }, "node_modules/axios": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz", - "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==", + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", + "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", "dependencies": { - "follow-redirects": "^1.15.0", + "follow-redirects": "^1.15.4", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -1303,9 +1397,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001568", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001568.tgz", - "integrity": "sha512-vSUkH84HontZJ88MiNrOau1EBrCqEQYgkC5gIySiDlpsm8sGVrhU7Kx4V6h0tnqaHzIHZv08HlJIwPbL4XL9+A==", + "version": "1.0.30001576", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001576.tgz", + "integrity": "sha512-ff5BdakGe2P3SQsMsiqmt1Lc8221NR1VzHj5jXN5vBny9A6fpze94HiVV/n7XRosOlsShJcvMv5mdnpjOGCEgg==", "dev": true, "funding": [ { @@ -1695,6 +1789,12 @@ "node": ">= 10" } }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true + }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -1811,6 +1911,15 @@ "npm": "1.2.8000 || >= 1.4.16" } }, + "node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true, + "engines": { + "node": ">=0.3.1" + } + }, "node_modules/doctrine": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", @@ -1845,9 +1954,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.4.610", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.610.tgz", - "integrity": "sha512-mqi2oL1mfeHYtOdCxbPQYV/PL7YrQlxbvFEZ0Ee8GbDdShimqt2/S6z2RWqysuvlwdOrQdqvE0KZrBTipAeJzg==", + "version": "1.4.625", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.625.tgz", + "integrity": "sha512-DENMhh3MFgaPDoXWrVIqSPInQoLImywfCwrSmVl3cf9QHzoZSiutHwGaB/Ql3VkqcQV30rzgdM+BjKqBAJxo5Q==", "dev": true }, "node_modules/elementtree": { @@ -1886,6 +1995,17 @@ "once": "^1.4.0" } }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, "node_modules/errorhandler": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/errorhandler/-/errorhandler-1.5.1.tgz", @@ -2282,15 +2402,15 @@ } }, "node_modules/eslint": { - "version": "8.55.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.55.0.tgz", - "integrity": "sha512-iyUUAM0PCKj5QpwGfmCAG9XXbZCWsqP/eWAWrG/W0umvjuLRBECwSFdt+rCntju0xEH7teIABPwXpahftIaTdA==", + "version": "8.56.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", + "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.55.0", + "@eslint/js": "8.56.0", "@humanwhocodes/config-array": "^0.11.13", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -2369,6 +2489,22 @@ "eslint": "^6.2.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, "node_modules/eslint-utils": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", @@ -2405,31 +2541,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/eslint/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, "node_modules/eslint/node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -2471,15 +2582,6 @@ "node": ">=0.10" } }, - "node_modules/esquery/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, "node_modules/esrecurse": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", @@ -2492,7 +2594,7 @@ "node": ">=4.0" } }, - "node_modules/esrecurse/node_modules/estraverse": { + "node_modules/estraverse": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", @@ -2647,9 +2749,9 @@ "dev": true }, "node_modules/fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", "dev": true, "dependencies": { "@nodelib/fs.stat": "^2.0.2", @@ -2675,9 +2777,9 @@ "dev": true }, "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", + "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", "dev": true, "dependencies": { "reusify": "^1.0.4" @@ -2810,9 +2912,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", - "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", + "version": "1.15.4", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz", + "integrity": "sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw==", "funding": [ { "type": "individual", @@ -3790,6 +3892,12 @@ "node": ">=12" } }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true + }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -4382,9 +4490,9 @@ } }, "node_modules/postcss": { - "version": "8.4.32", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.32.tgz", - "integrity": "sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==", + "version": "8.4.33", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz", + "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==", "funding": [ { "type": "opencollective", @@ -4409,9 +4517,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.0.13", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", - "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "version": "6.0.15", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.15.tgz", + "integrity": "sha512-rEYkQOMUCEMhsKbK66tbEU9QVIxbhN18YiniAwA7XQYTVBqrBy+P2p5JcdqsHgKM2zWylp8d7J6eszocfds5Sw==", "dev": true, "dependencies": { "cssesc": "^3.0.0", @@ -4500,9 +4608,9 @@ } }, "node_modules/quasar": { - "version": "2.14.1", - "resolved": "https://registry.npmjs.org/quasar/-/quasar-2.14.1.tgz", - "integrity": "sha512-TAIGUgHASlL7COS9qqfDKyV2+WGFcHQseIDTzN+yfXaXY5gn/FZqwkEnb87bgOqgGYw8KJerkfZg3aSel+bLPw==", + "version": "2.14.2", + "resolved": "https://registry.npmjs.org/quasar/-/quasar-2.14.2.tgz", + "integrity": "sha512-f5KliWtM5BEuFsDU4yvuP+dlVIWZNrGu5VpWFsxzjpoykcP4B2HIOUiCl3mx2NCqERHd4Ts0aeioRkt9TTeExA==", "engines": { "node": ">= 10.18.1", "npm": ">= 6.13.4", @@ -4744,9 +4852,9 @@ } }, "node_modules/rollup-plugin-visualizer": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.11.0.tgz", - "integrity": "sha512-exM0Ms2SN3AgTzMeW7y46neZQcyLY7eKwWAop1ZoRTCZwyrIRdMMJ6JjToAJbML77X/9N8ZEpmXG4Z/Clb9k8g==", + "version": "5.12.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.12.0.tgz", + "integrity": "sha512-8/NU9jXcHRs7Nnj07PF2o4gjxmm9lXIrZ8r175bT9dK8qoLlvKTwRMArRCMgpMGlq8CTLugRvEmyMeMXIU2pNQ==", "dev": true, "dependencies": { "open": "^8.4.0", @@ -4832,9 +4940,9 @@ "dev": true }, "node_modules/sass": { - "version": "1.69.5", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.69.5.tgz", - "integrity": "sha512-qg2+UCJibLr2LCVOt3OlPhr/dqVHWOa9XtZf2OjbLs/T4VPSJ00udtgJxH3neXZm+QqX8B+3cU7RaLqp1iVfcQ==", + "version": "1.69.7", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.69.7.tgz", + "integrity": "sha512-rzj2soDeZ8wtE2egyLXgOOHQvaC2iosZrkF6v3EUG+tBwEvhqUCzm0VP3k9gHF9LXbSrRhT5SksoI56Iw8NPnQ==", "dev": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", @@ -4921,9 +5029,9 @@ "dev": true }, "node_modules/serialize-javascript": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz", - "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", "dev": true, "dependencies": { "randombytes": "^2.1.0" @@ -5275,6 +5383,49 @@ "node": ">=0.6" } }, + "node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, "node_modules/tslib": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", @@ -5294,9 +5445,9 @@ } }, "node_modules/type-fest": { - "version": "4.8.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.8.3.tgz", - "integrity": "sha512-//BaTm14Q/gHBn09xlnKNqfI8t6bmdzx2DXYfPBNofN0WUybCEUDcbCWcTa0oF09lzLjZgPphXAsvRiMK0V6Bw==", + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.9.0.tgz", + "integrity": "sha512-KS/6lh/ynPGiHD/LnAobrEFq3Ad4pBzOlJ1wAnJx9N4EYoqFhMfLIBjUT2UEx4wg5ZE+cC1ob6DCSpppVo+rtg==", "engines": { "node": ">=16" }, @@ -5318,17 +5469,16 @@ } }, "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", - "optional": true, - "peer": true, + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", + "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "devOptional": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, "node_modules/uglify-js": { @@ -5343,6 +5493,12 @@ "node": ">=0.8.0" } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true + }, "node_modules/universalify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", @@ -5421,6 +5577,12 @@ "node": ">= 0.4.0" } }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true + }, "node_modules/vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", @@ -5431,15 +5593,15 @@ } }, "node_modules/vee-validate": { - "version": "4.12.2", - "resolved": "https://registry.npmjs.org/vee-validate/-/vee-validate-4.12.2.tgz", - "integrity": "sha512-SF5AOHbyW8vy09FgMRVHxCtK/3D5Jsk0VyvMf/HZhwPgpjGCCBW6ZWDW11/HC6pRbMOjTcg3YueBI6hb3oveYg==", + "version": "4.12.4", + "resolved": "https://registry.npmjs.org/vee-validate/-/vee-validate-4.12.4.tgz", + "integrity": "sha512-rqSjMdl0l/RiGKywKhkXttUKwDlQOoxTxe31uMQiMlwK4Hbtlvr3OcQvpREp/qPTARxNKudKWCUVW/mfzuxUVQ==", "dependencies": { "@vue/devtools-api": "^6.5.1", - "type-fest": "^4.8.2" + "type-fest": "^4.8.3" }, "peerDependencies": { - "vue": "^3.3.8" + "vue": "^3.3.11" } }, "node_modules/vite": { @@ -5480,15 +5642,15 @@ } }, "node_modules/vue": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.11.tgz", - "integrity": "sha512-d4oBctG92CRO1cQfVBZp6WJAs0n8AK4Xf5fNjQCBeKCvMI1efGQ5E3Alt1slFJS9fZuPcFoiAiqFvQlv1X7t/w==", + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.7.tgz", + "integrity": "sha512-4urmkWpudekq0CPNMO7p6mBGa9qmTXwJMO2r6CT4EzIJVG7WoSReiysiNb7OSi/WI113oX0Srn9Rz1k/DCXKFQ==", "dependencies": { - "@vue/compiler-dom": "3.3.11", - "@vue/compiler-sfc": "3.3.11", - "@vue/runtime-dom": "3.3.11", - "@vue/server-renderer": "3.3.11", - "@vue/shared": "3.3.11" + "@vue/compiler-dom": "3.4.7", + "@vue/compiler-sfc": "3.4.7", + "@vue/runtime-dom": "3.4.7", + "@vue/server-renderer": "3.4.7", + "@vue/shared": "3.4.7" }, "peerDependencies": { "typescript": "*" @@ -5499,10 +5661,15 @@ } } }, + "node_modules/vue-coerce-props": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/vue-coerce-props/-/vue-coerce-props-1.0.0.tgz", + "integrity": "sha512-4fdRMXO6FHzmE7H4soAph6QmPg3sL/RiGdd+axuxuU07f02LNMns0jMM88fmt1bvSbN+2Wyd8raho6p6nXUzag==" + }, "node_modules/vue-eslint-parser": { - "version": "9.3.2", - "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.3.2.tgz", - "integrity": "sha512-q7tWyCVaV9f8iQyIA5Mkj/S6AoJ9KBN8IeUSf3XEmBrOtxOZnfTg5s4KClbZBCK3GtnT/+RyCLZyDHuZwTuBjg==", + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.4.0.tgz", + "integrity": "sha512-7KsNBb6gHFA75BtneJsoK/dbZ281whUIwFYdQxA68QrCrGMXYzUMbPDHGcOQ0OocIVKrWSKWXZ4mL7tonCXoUw==", "dev": true, "dependencies": { "debug": "^4.3.4", @@ -5523,38 +5690,13 @@ "eslint": ">=6.0.0" } }, - "node_modules/vue-eslint-parser/node_modules/eslint-scope": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", - "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/vue-eslint-parser/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, "node_modules/vue-i18n": { - "version": "9.8.0", - "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-9.8.0.tgz", - "integrity": "sha512-Izho+6PYjejsTq2mzjcRdBZ5VLRQoSuuexvR8029h5CpN03FYqiqBrShMyf2I1DKkN6kw/xmujcbvC+4QybpsQ==", + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-9.9.0.tgz", + "integrity": "sha512-xQ5SxszUAqK5n84N+uUyHH/PiQl9xZ24FOxyAaNonmOQgXeN+rD9z/6DStOpOxNFQn4Cgcquot05gZc+CdOujA==", "dependencies": { - "@intlify/core-base": "9.8.0", - "@intlify/shared": "9.8.0", + "@intlify/core-base": "9.9.0", + "@intlify/shared": "9.9.0", "@vue/devtools-api": "^6.5.0" }, "engines": { @@ -5733,6 +5875,15 @@ "node": ">=12" } }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", diff --git a/package.json b/package.json index 19a5d09..effa109 100644 --- a/package.json +++ b/package.json @@ -9,35 +9,41 @@ "lint": "eslint --ext .js,.vue ./", "format": "prettier --write \"**/*.{js,vue,scss,html,md,json}\" --ignore-path .gitignore", "dev": "quasar dev -m ssr", + "api": "cd api && node index.js", "build": "quasar build -m ssr", + "build:api": "cd api && tsc", "start:build": "npm run build && cd dist/ssr && npm i && npm run start", - "backend": "json-server -p 5000 -d 600 -w src/services/json-server/db.json" + "backend": "json-server -p 3000 -d 600 -w src/services/json-server/db.json --routes src/services/json-server/routes.json" }, "dependencies": { - "@vee-validate/zod": "^4.12.2", - "@vueuse/core": "^10.7.0", - "vee-validate": "^4.12.2", - "vue-image-zoomer": "^2.2.3", - "zod": "^3.22.4", - "axios": "^1.2.1", - "vue-i18n": "^9.0.0", - "pinia": "^2.0.11", "@quasar/extras": "^1.16.4", + "@vee-validate/zod": "^4.12.2", + "@vue-stripe/vue-stripe": "^4.5.0", + "@vueuse/core": "^10.7.0", + "axios": "^1.2.1", + "express": "^4.18.2", + "pinia": "^2.0.11", "quasar": "^2.6.0", + "vee-validate": "^4.12.2", "vue": "^3.0.0", - "vue-router": "^4.0.0" + "vue-i18n": "^9.0.0", + "vue-image-zoomer": "^2.2.3", + "vue-router": "^4.0.0", + "zod": "^3.22.4" }, "devDependencies": { "@faker-js/faker": "^8.3.1", - "json-server": "^0.17.4", - "eslint": "^8.10.0", - "eslint-plugin-vue": "^9.0.0", - "eslint-config-prettier": "^8.1.0", - "prettier": "^2.5.1", "@intlify/vite-plugin-vue-i18n": "^3.3.1", "@quasar/app-vite": "^1.3.0", "autoprefixer": "^10.4.2", - "postcss": "^8.4.14" + "eslint": "^8.10.0", + "eslint-config-prettier": "^8.1.0", + "eslint-plugin-vue": "^9.0.0", + "json-server": "^0.17.4", + "postcss": "^8.4.14", + "prettier": "^2.5.1", + "ts-node": "^10.9.2", + "typescript": "^5.3.3" }, "engines": { "node": "^18 || ^16 || ^14.19", diff --git a/public/assets/empty-img.jpg b/public/assets/empty-img.jpg new file mode 100644 index 0000000..f50017d Binary files /dev/null and b/public/assets/empty-img.jpg differ diff --git a/public/assets/empty-img.png b/public/assets/empty-img.png deleted file mode 100644 index 9ceb2a9..0000000 Binary files a/public/assets/empty-img.png and /dev/null differ diff --git a/quasar.config.js b/quasar.config.js index 7af8b1f..5f185bc 100644 --- a/quasar.config.js +++ b/quasar.config.js @@ -119,7 +119,7 @@ module.exports = configure(function (/* ctx */) { // directives: [], // Quasar plugins - plugins: ["Meta", "Loading"], + plugins: ["Meta", "Loading", "Notify"], }, // animations: 'all', // --- includes all animations diff --git a/src/App.vue b/src/App.vue index 766718e..712cc57 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,11 +1,11 @@ + + - - diff --git a/src/boot/axios.js b/src/boot/axios.js index f10e1cd..ecd3624 100644 --- a/src/boot/axios.js +++ b/src/boot/axios.js @@ -7,7 +7,8 @@ import { boot } from "quasar/wrappers"; // good idea to move this instance creation inside of the // "export default () => {}" function below (which runs individually // for each client) -const api = axios.create({ baseURL: "http://localhost:5000/" }); +const api = axios.create({ baseURL: "http://localhost:3000/jsonServer/" }); +const apiBack = axios.create({ baseURL: "http://localhost:5000/api/" }); export default boot(({ app }) => { // for use inside Vue files (Options API) through this.$axios and this.$api @@ -17,8 +18,9 @@ export default boot(({ app }) => { // so you won't necessarily have to import axios in each vue file app.config.globalProperties.$api = api; + app.config.globalProperties.$apiBack = apiBack; // ^ ^ ^ this will allow you to use this.$api (for Vue Options API form) // so you can easily perform requests against your app's API }); -export { api }; +export { api, apiBack }; diff --git a/src/boot/i18n.js b/src/boot/i18n.js index e3ae0dc..4bb3e96 100644 --- a/src/boot/i18n.js +++ b/src/boot/i18n.js @@ -1,6 +1,6 @@ import { boot } from "quasar/wrappers"; -import { createI18n } from "vue-i18n"; import messages from "src/i18n"; +import { createI18n } from "vue-i18n"; export default boot(({ app }) => { const i18n = createI18n({ diff --git a/src/components/@inputs/Calendar.vue b/src/components/@inputs/Calendar.vue index 7f8125a..e88bbef 100644 --- a/src/components/@inputs/Calendar.vue +++ b/src/components/@inputs/Calendar.vue @@ -1,3 +1,66 @@ + + - - diff --git a/src/components/@inputs/PostalCode.vue b/src/components/@inputs/PostalCode.vue index 31fb34b..c39ecb7 100644 --- a/src/components/@inputs/PostalCode.vue +++ b/src/components/@inputs/PostalCode.vue @@ -1,38 +1,16 @@ -