├── .editorconfig ├── .eslintrc.json ├── .gitignore ├── Insomnia.json ├── Procfile ├── README.md ├── frontend.html ├── index.js ├── middlewares ├── error.handler.js └── validator.handler.js ├── package.json ├── routes ├── categories.router.js ├── index.js ├── orders.router.js ├── products.router.js └── users.router.js ├── schemas ├── category.schema.js ├── order.schema.js ├── product.schema.js └── user.schema.js └── services ├── category.service.js ├── order.service.js ├── product.service.js └── user.service.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/.gitignore -------------------------------------------------------------------------------- /Insomnia.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/Insomnia.json -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: npm run start 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/frontend.html -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/index.js -------------------------------------------------------------------------------- /middlewares/error.handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/middlewares/error.handler.js -------------------------------------------------------------------------------- /middlewares/validator.handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/middlewares/validator.handler.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/package.json -------------------------------------------------------------------------------- /routes/categories.router.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/routes/categories.router.js -------------------------------------------------------------------------------- /routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/routes/index.js -------------------------------------------------------------------------------- /routes/orders.router.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/routes/orders.router.js -------------------------------------------------------------------------------- /routes/products.router.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/routes/products.router.js -------------------------------------------------------------------------------- /routes/users.router.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/routes/users.router.js -------------------------------------------------------------------------------- /schemas/category.schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/schemas/category.schema.js -------------------------------------------------------------------------------- /schemas/order.schema.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /schemas/product.schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/schemas/product.schema.js -------------------------------------------------------------------------------- /schemas/user.schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/schemas/user.schema.js -------------------------------------------------------------------------------- /services/category.service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/services/category.service.js -------------------------------------------------------------------------------- /services/order.service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/services/order.service.js -------------------------------------------------------------------------------- /services/product.service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/services/product.service.js -------------------------------------------------------------------------------- /services/user.service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/platzi/curso-nodejs-postgres/HEAD/services/user.service.js --------------------------------------------------------------------------------