Giter Club home page Giter Club logo

Comments (8)

gumpcha avatar gumpcha commented on July 27, 2024

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.

kisstest avatar kisstest commented on July 27, 2024

넵~

from good-reads-clone.

kisstest avatar kisstest commented on July 27, 2024

로그인에 대한 응답결과입니다
은근히 좀 바빠서 늦었네요 ^^;

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.

gumpcha avatar gumpcha commented on July 27, 2024

맞네요. 서버가 idle -> active 되면서 회원 정보가 날라갔어요. db 작업 중이니, 끝나면 알려드릴게요.

from good-reads-clone.

kisstest avatar kisstest commented on July 27, 2024

서버쪽은 완전 문외한이라 ㅜㅜ
서버 이해를 돕기위한 블로그나 책같은거 추천하실만한거 있으세요?
대략 포괄적인 것으로다가 ㅎㅎ

from good-reads-clone.

gumpcha avatar gumpcha commented on July 27, 2024

실제로 해 보는게 좋을거 같아요.

  1. node 설치
  2. https://expressjs.com/ko/starter/hello-world.html 실행
  3. 브라우져에서 localhost:3000 으로 접속해 보기

위 내용 성공하면 http method(get/post/delete/put) + endpoint(/users, /books) 추가하는거 같이 진행해 보시죠.

from good-reads-clone.

kisstest avatar kisstest commented on July 27, 2024

넵 감솨합니다^^

from good-reads-clone.

gumpcha avatar gumpcha commented on July 27, 2024

#28 에서 수정됨

from good-reads-clone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.