├── .editorconfig ├── .env.example ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── .sequelizerc ├── Dockerfile ├── LICENSE ├── README.md ├── docker-compose.yml ├── nodemon.json ├── package.json ├── src ├── app.js ├── app │ ├── controllers │ │ ├── ComplaintController.js │ │ └── FileController.js │ └── models │ │ ├── Complaint.js │ │ └── File.js ├── config │ ├── database.js │ └── multer.js ├── database │ ├── index.js │ └── migrations │ │ ├── 20200419193116-create_file.js │ │ ├── 20200423175610-create-complaint.js │ │ ├── 20200423223703-add_complaint_field_to_file.js │ │ └── 20200423223726-add_file_field_to_complaint.js ├── routes.js └── server.js └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .env 3 | 4 | # db 5 | postgres/ -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/.prettierrc -------------------------------------------------------------------------------- /.sequelizerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/.sequelizerc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/package.json -------------------------------------------------------------------------------- /src/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/app.js -------------------------------------------------------------------------------- /src/app/controllers/ComplaintController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/app/controllers/ComplaintController.js -------------------------------------------------------------------------------- /src/app/controllers/FileController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/app/controllers/FileController.js -------------------------------------------------------------------------------- /src/app/models/Complaint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/app/models/Complaint.js -------------------------------------------------------------------------------- /src/app/models/File.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/app/models/File.js -------------------------------------------------------------------------------- /src/config/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/config/database.js -------------------------------------------------------------------------------- /src/config/multer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/config/multer.js -------------------------------------------------------------------------------- /src/database/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/database/index.js -------------------------------------------------------------------------------- /src/database/migrations/20200419193116-create_file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/database/migrations/20200419193116-create_file.js -------------------------------------------------------------------------------- /src/database/migrations/20200423175610-create-complaint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/database/migrations/20200423175610-create-complaint.js -------------------------------------------------------------------------------- /src/database/migrations/20200423223703-add_complaint_field_to_file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/database/migrations/20200423223703-add_complaint_field_to_file.js -------------------------------------------------------------------------------- /src/database/migrations/20200423223726-add_file_field_to_complaint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/database/migrations/20200423223726-add_file_field_to_complaint.js -------------------------------------------------------------------------------- /src/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/routes.js -------------------------------------------------------------------------------- /src/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/src/server.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/teresinahc/api-denuncia-de-aglomeracao/HEAD/yarn.lock --------------------------------------------------------------------------------