Backend | Backend | Backend | Frontend | Frontend |
---|---|---|---|---|
์ด์ข ๋ณต | ์ง์ํ | ์์ ํ | ๋์ค | ์ด์งํ |
1) Repository์์ ํ๋ก์ ํธ๋ฅผ ๋ค์ด ๋ฐ์ต๋๋ค.
git clone https://github.com/f-lab-edu/interviewPrep.git
2) h2๋ฅผ ์ค์นํ๊ณ , ์ ์ํฉ๋๋ค.
(1) h2 ์น ์ฌ์ดํธ์์ h2๋ฅผ ๋ค์ด ๋ฐ์ต๋๋ค.
http://h2database.com/html/main.html
(2) h2์ JDBC URL์ ๋ค์๊ณผ ๊ฐ์ด ์ค์ ํฉ๋๋ค.
jdbc:h2:tcp://localhost/~/interviewPrep
(3) h2์ ์ ์ํฉ๋๋ค.
4) Redis๋ฅผ ์ค์ ํฉ๋๋ค.
(1) Docker๋ฅผ ์ค์นํฉ๋๋ค.
https://docs.docker.com/desktop/install/windows-install/
(2) Redis Image๋ฅผ ๋ฐ์์ต๋๋ค.
docker pull redis
(3) docker-compose๋ก ์ปจํ ์ด๋๋ฅผ ์์ฑํ๊ณ ์คํํฉ๋๋ค.
docker-compose up -d
(4) Redis-cli๋ก ์ ์ํด์, ํ์ธํฉ๋๋ค.
docker exec -it redis_test redis-cli