Skip to content

Commit

Permalink
Versão Final
Browse files Browse the repository at this point in the history
  • Loading branch information
goismurilo committed Dec 16, 2020
1 parent 6c55246 commit 7127d4b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/.eslintcache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\Landing\\index.tsx":"1","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\LogsItem\\index.tsx":"2","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Logout\\index.tsx":"3","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\App.tsx":"4","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\routes.tsx":"5","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\ConsultCEP\\index.tsx":"6","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\services\\api.ts":"7","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\AddressItem\\index.tsx":"8","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\index.tsx":"9","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Input\\index.tsx":"10","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Login\\index.tsx":"11","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\Dashboard\\index.tsx":"12","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Header\\index.tsx":"13","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\Canyon\\index.tsx":"14","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\index.tsx":"15","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\pages\\Landing\\index.tsx":"16","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\App.tsx":"17"},{"size":1140,"mtime":1607983060538,"results":"18","hashOfConfig":"19"},{"size":1056,"mtime":1607982375138,"results":"20","hashOfConfig":"19"},{"size":948,"mtime":1607983385638,"results":"21","hashOfConfig":"19"},{"size":168,"mtime":1607912804619,"results":"22","hashOfConfig":"19"},{"size":632,"mtime":1607995568951,"results":"23","hashOfConfig":"19"},{"size":2105,"mtime":1607989278401,"results":"24","hashOfConfig":"19"},{"size":124,"mtime":1607642392314,"results":"25","hashOfConfig":"19"},{"size":849,"mtime":1607905725127,"results":"26","hashOfConfig":"19"},{"size":219,"mtime":1607655715410,"results":"27","hashOfConfig":"19"},{"size":455,"mtime":1607891567021,"results":"28","hashOfConfig":"19"},{"size":1410,"mtime":1607984841538,"results":"29","hashOfConfig":"19"},{"size":444,"mtime":1607911487945,"results":"30","hashOfConfig":"19"},{"size":523,"mtime":1607913086333,"results":"31","hashOfConfig":"19"},{"size":1178,"mtime":1607987396066,"results":"32","hashOfConfig":"19"},{"size":219,"mtime":1607655715410,"results":"33","hashOfConfig":"34"},{"size":1140,"mtime":1607983060538,"results":"35","hashOfConfig":"34"},{"size":168,"mtime":1607912804619,"results":"36","hashOfConfig":"34"},{"filePath":"37","messages":"38","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"13g32im",{"filePath":"39","messages":"40","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"41","messages":"42","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"43","messages":"44","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"45","messages":"46","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"47","messages":"48","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"49","messages":"50","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"51","messages":"52","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"53"},{"filePath":"54","messages":"55","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"56"},{"filePath":"57","messages":"58","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"56"},{"filePath":"59","messages":"60","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"61","messages":"62","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"63","messages":"64","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"56"},{"filePath":"65","messages":"66","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"67","messages":"68","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"stcaxp",{"filePath":"69","messages":"70","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"71","messages":"72","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\Landing\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\LogsItem\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Logout\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\App.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\routes.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\ConsultCEP\\index.tsx",["73"],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\services\\api.ts",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\AddressItem\\index.tsx",[],["74","75"],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\index.tsx",[],["76","77"],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Input\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Login\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\Dashboard\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Header\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\Canyon\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\pages\\Landing\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\App.tsx",[],{"ruleId":"78","severity":1,"message":"79","line":2,"column":10,"nodeType":"80","messageId":"81","endLine":2,"endColumn":14},{"ruleId":"82","replacedBy":"83"},{"ruleId":"84","replacedBy":"85"},{"ruleId":"82","replacedBy":"86"},{"ruleId":"84","replacedBy":"87"},"@typescript-eslint/no-unused-vars","'Link' is defined but never used.","Identifier","unusedVar","no-native-reassign",["88"],"no-negated-in-lhs",["89"],["88"],["89"],"no-global-assign","no-unsafe-negation"]
[{"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\Landing\\index.tsx":"1","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\LogsItem\\index.tsx":"2","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Logout\\index.tsx":"3","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\App.tsx":"4","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\routes.tsx":"5","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\ConsultCEP\\index.tsx":"6","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\services\\api.ts":"7","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\AddressItem\\index.tsx":"8","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\index.tsx":"9","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Input\\index.tsx":"10","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Login\\index.tsx":"11","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\Dashboard\\index.tsx":"12","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Header\\index.tsx":"13","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\Canyon\\index.tsx":"14","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\index.tsx":"15","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\pages\\Landing\\index.tsx":"16","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\App.tsx":"17","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\routes.tsx":"18","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\services\\api.ts":"19","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\components\\Input\\index.tsx":"20","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\components\\Header\\index.tsx":"21","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\components\\LogsItem\\index.tsx":"22","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\components\\Logout\\index.tsx":"23","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\pages\\ConsultCEP\\index.tsx":"24","C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\components\\Login\\index.tsx":"25"},{"size":1140,"mtime":1607983060538,"results":"26","hashOfConfig":"27"},{"size":1056,"mtime":1607982375138,"results":"28","hashOfConfig":"27"},{"size":948,"mtime":1607983385638,"results":"29","hashOfConfig":"27"},{"size":168,"mtime":1607912804619,"results":"30","hashOfConfig":"27"},{"size":632,"mtime":1607995568951,"results":"31","hashOfConfig":"27"},{"size":2105,"mtime":1607989278401,"results":"32","hashOfConfig":"27"},{"size":124,"mtime":1607642392314,"results":"33","hashOfConfig":"27"},{"size":849,"mtime":1607905725127,"results":"34","hashOfConfig":"27"},{"size":219,"mtime":1607655715410,"results":"35","hashOfConfig":"27"},{"size":455,"mtime":1607891567021,"results":"36","hashOfConfig":"27"},{"size":1410,"mtime":1607984841538,"results":"37","hashOfConfig":"27"},{"size":444,"mtime":1607911487945,"results":"38","hashOfConfig":"27"},{"size":523,"mtime":1607913086333,"results":"39","hashOfConfig":"27"},{"size":1178,"mtime":1607987396066,"results":"40","hashOfConfig":"27"},{"size":219,"mtime":1607655715410,"results":"41","hashOfConfig":"42"},{"size":1140,"mtime":1607983060538,"results":"43","hashOfConfig":"42"},{"size":168,"mtime":1607912804619,"results":"44","hashOfConfig":"42"},{"size":632,"mtime":1607995568951,"results":"45","hashOfConfig":"42"},{"size":124,"mtime":1607642392314,"results":"46","hashOfConfig":"42"},{"size":455,"mtime":1607891567021,"results":"47","hashOfConfig":"42"},{"size":523,"mtime":1607913086333,"results":"48","hashOfConfig":"42"},{"size":1056,"mtime":1607982375138,"results":"49","hashOfConfig":"42"},{"size":948,"mtime":1607983385638,"results":"50","hashOfConfig":"42"},{"size":2105,"mtime":1607989278401,"results":"51","hashOfConfig":"42"},{"size":1428,"mtime":1608076393679,"results":"52","hashOfConfig":"42"},{"filePath":"53","messages":"54","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"13g32im",{"filePath":"55","messages":"56","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"57","messages":"58","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"59","messages":"60","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"61","messages":"62","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"63","messages":"64","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"65","messages":"66","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"67","messages":"68","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"69"},{"filePath":"70","messages":"71","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"73","messages":"74","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"75","messages":"76","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"77","messages":"78","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"79","messages":"80","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"72"},{"filePath":"81","messages":"82","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"83","messages":"84","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"85"},"stcaxp",{"filePath":"86","messages":"87","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"88","messages":"89","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"90","messages":"91","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"92","messages":"93","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"94","messages":"95","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"96","messages":"97","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"98","messages":"99","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"100","messages":"101","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"102","messages":"103","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"104","messages":"105","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\Landing\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\LogsItem\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Logout\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\App.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\routes.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\ConsultCEP\\index.tsx",["106"],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\services\\api.ts",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\AddressItem\\index.tsx",[],["107","108"],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\index.tsx",[],["109","110"],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Input\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Login\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\Dashboard\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\components\\Header\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex\\client\\src\\pages\\Canyon\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\index.tsx",[],["111","112"],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\pages\\Landing\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\App.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\routes.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\services\\api.ts",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\components\\Input\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\components\\Header\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\components\\LogsItem\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\components\\Logout\\index.tsx",[],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\pages\\ConsultCEP\\index.tsx",["113"],"C:\\Users\\Murilo\\Documents\\GitHub\\sds006-ifbex-project\\client\\src\\components\\Login\\index.tsx",[],{"ruleId":"114","severity":1,"message":"115","line":2,"column":10,"nodeType":"116","messageId":"117","endLine":2,"endColumn":14},{"ruleId":"118","replacedBy":"119"},{"ruleId":"120","replacedBy":"121"},{"ruleId":"118","replacedBy":"122"},{"ruleId":"120","replacedBy":"123"},{"ruleId":"118","replacedBy":"124"},{"ruleId":"120","replacedBy":"125"},{"ruleId":"114","severity":1,"message":"115","line":2,"column":10,"nodeType":"116","messageId":"117","endLine":2,"endColumn":14},"@typescript-eslint/no-unused-vars","'Link' is defined but never used.","Identifier","unusedVar","no-native-reassign",["126"],"no-negated-in-lhs",["127"],["126"],["127"],["126"],["127"],"no-global-assign","no-unsafe-negation"]
Binary file added client/src/assets/images/ifbex-icon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion client/src/components/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function Login(){
name: res.profileObj.givenName,
email: res.profileObj.email,
image: res.profileObj.imageUrl,

}).then(() => {
alert('Login realizado com sucesso!');
history.push('/canyon');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {MigrationInterface, QueryRunner, Table } from "typeorm";

export class CreateLogs1608068457238 implements MigrationInterface {
export class CreateLogs1608076846641 implements MigrationInterface {

public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query('CREATE EXTENSION IF NOT EXISTS "uuid-ossp"');
Expand All @@ -26,7 +26,6 @@ export class CreateLogs1608068457238 implements MigrationInterface {
{
name: 'email',
type: 'varchar',
isUnique: true,
},

{
Expand Down
1 change: 1 addition & 0 deletions server/src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ routes.get('/logs', async (request, response) => {
routes.post('/logs', async(request, response) =>{
try {
const { name, email, image } = request.body;
console.log(name);

const createLogService = new CreateLogService();

Expand Down

0 comments on commit 7127d4b

Please sign in to comment.