Skip to content

cryptus-neoxys/prisma-redis-basics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prisma + Redis Basics

wakatime

What does it do

This is a basic CRUD application with a simple User and Post Relational Schema.

Made to learn Prisma V2 and Redis. Also implemented rate-limit with Redis as Store.

👨‍💻 🛠️ Tech Stack

  1. Nodejs
  2. Express
  3. Express-Validator
  4. Express-rate-limit (redisStore: redis-rate-limit)
  5. Prisma (lacks in-built validation + lifecycle hooks)
  6. Redis

▶️ Running Locally

  1. Fork the repo
  2. git clone https://github.com/<your-username>/prisma-orm.git <name>
  3. cd <name>
  4. yarn install or npm install
  5. yarn run dev or npm run dev
  6. the app should be running at http://localhost:5000/

Screenshots (Cache Speed)

Using Database With Cache
Response Time: 129.72 ms Response Time: 0.418 ms

🔔 Credits

Built from Classsed, Traversy Media, yoursTRULY and Coding Garden YouTube videos.