No pom.xml
, adicione as seguintes dependências:
<!-- JSP-->
<dependency>
org.apache.tomcat.embed
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Pesquisa CEP</title> | |
</head> | |
<body> |
2022-01-16T20:01:15.903003+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=gabi-dsmovie.herokuapp.com request_id=33250140-7cf2-4da6-b9c4-05b9162e32b3 fwd="190.115.66.94" dyno= connect= service= status=503 bytes= protocol=https | |
2022-01-16T20:03:41.556758+00:00 heroku[web.1]: State changed from crashed to starting | |
2022-01-16T20:03:43.786832+00:00 heroku[web.1]: Starting process with command `java -Dserver.port=20796 $JAVA_OPTS -jar target/dsmovie-0.0.1-SNAPSHOT.jar` | |
2022-01-16T20:03:44.530471+00:00 app[web.1]: Create a Procfile to customize the command used to run this process: https://devcenter.heroku.com/articles/procfile | |
2022-01-16T20:03:44.545875+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them. | |
2022-01-16T20:03:44.549558+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -XX:CICompilerCount=2 -Dfile.encoding=UTF-8 | |
2022-01-16T20:03:44.623167+00:00 app[web.1]: no main manifest attribute, i |
TELEGRAM: | |
https://t.me/javascriptbr | |
https://t.me/osprogramadores | |
https://t.me/FrontEndBR | |
DISCORD: | |
https://discord.gg/rWa2vyy5xv | |
https://discord.gg/8gM9sMDd4u | |
https://discord.gg/ballerini | |
https://discord.com/invite/QevDJqCzaY | |
https://ahub.tech/discord |
var mongoose = require('mongoose'); | |
mongoose.connect('mongodb://localhost/test'); | |
var db = mongoose.connection; | |
db.on('error', function() { | |
return console.error.bind(console, 'connection error: '); | |
}); | |
Este ano nao estou lendo nada portanto criei esse markdown pra organizar e voltar meu habito de leitura e parar de me tornar uma acumuladora igual eu fui em 2017
$ yarn test | |
yarn run v1.22.5 | |
$ jest | |
FAIL src/__tests__/likes.spec.js | |
● Likes › should be able to give a like to the repository | |
expect(received).toMatchObject(expected) | |
Matcher error: received value must be a non-null object |
$ npm test | |
> desafio@1.0.0 test D:\projetos\middlewares-ignite | |
> jest | |
FAIL src/__tests__/middlewares/checksTodoExists.spec.js | |
● Test suite failed to run | |
SyntaxError: D:\Projetos\middlewares-ignite\src\index.js: Identifier 'user' has already been declared (14:8) |
swagger: '2.0' | |
info: | |
description: This is a simple API | |
version: 1.0.0 | |
title: VUTTR | |
# put the contact info for your development or API team | |
contact: | |
email: gabrielle.clima23@gmail.com | |
license: |