Comments (8)
free tier로 배포한 heroku app은 마지막 request 이후로 30분 정도면 자동으로 내려갑니다. - https://devcenter.heroku.com/articles/free-dyno-hours#dyno-sleeping
user 정보를 db 말고 memory에만 저장해 두었으니, sleeping 된 후 다시 접속할 경우 memory가 날라가서 가입 정보가 없어지는 것 같네요.
맞는지 확인을 위해 로그인 에러날 경우의 api 응답을 긁어서 보여주세요.
이 이슈와 별개로 db layer를 빨리 추가하도록 하겠습니다. 😅
Every personal Heroku account is allocated a pool of hours which you can use with Free dynos. This article describes the behavior of apps using Free dynos.
from good-reads-clone.
넵~
from good-reads-clone.
로그인에 대한 응답결과입니다
은근히 좀 바빠서 늦었네요 ^^;
request
url: https://good-reads-clone-api-express.herokuapp.com/user/session
method: POST
payload: {
email: "[email protected]"
password: "!1234qwer"
}
response
code: 401
message: "email/password mismatch(0)"
from good-reads-clone.
맞네요. 서버가 idle -> active 되면서 회원 정보가 날라갔어요. db 작업 중이니, 끝나면 알려드릴게요.
from good-reads-clone.
서버쪽은 완전 문외한이라 ㅜㅜ
서버 이해를 돕기위한 블로그나 책같은거 추천하실만한거 있으세요?
대략 포괄적인 것으로다가 ㅎㅎ
from good-reads-clone.
실제로 해 보는게 좋을거 같아요.
- node 설치
- https://expressjs.com/ko/starter/hello-world.html 실행
- 브라우져에서 localhost:3000 으로 접속해 보기
위 내용 성공하면 http method(get/post/delete/put) + endpoint(/users, /books) 추가하는거 같이 진행해 보시죠.
from good-reads-clone.
넵 감솨합니다^^
from good-reads-clone.
#28 에서 수정됨
from good-reads-clone.
Related Issues (20)
- Architecture 설계 HOT 6
- Table 설계
- Heroku에 express app 배포하기 HOT 1
- 서버 배포(v0.1) HOT 5
- navigation guard error
- Login validation
- Search box
- separate message service
- vue build error
- module
- Production Deployment
- build error
- mobile performace
- 페이지 템플릿 구성요소 모듈화
- element-icons
- change element-ui icon
- Preformace Optimization HOT 1
- 서버 배포(v0.2) HOT 2
- API 정의
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from good-reads-clone.