Skip to content

daimus/UpskilledD17_Redis

Repository files navigation

Day 17 - Redis (Redis as Primary Database)

Problem 1 - Buat REST API ✅

Criteria

  1. Menggunakan redis sebagai media penyimpanan ✅
    • Redis sebagai media penyimpanan primer main
    • Redis sebagai cache, Postgres sebagai media penyimpanan primer redis-cache
  2. Menerapkan fitur autentikasi ✅
Username Password
johndoe password

Endpoints

Postman Documentation 🔗

Endpoint HTTP Method Auth Type Request Body
/auth/signin POST None {
"username" : "johndoe",
"password" : "password"
}
/books GET Bearer
/books/:id GET Bearer
/books POST Bearer {
"title": "Atomic Habit",
"isbn": " 9780735211292",
"writer": "Clear, James",
"description": "An Easy & Proven Way to Build Good Habits & Break Bad Ones",
"category": "Self Improvement"
}
/books/:id PATCH Bearer {
"title": "Atomic Habit",
"isbn": " 9780735211292",
"writer": "Clear, James",
"description": "An Easy & Proven Way to Build Good Habits & Break Bad Ones",
"category": "Self Improvement"
}
/books/:id DELETE Bearer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages