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.
- Nodejs
- Express
- Express-Validator
- Express-rate-limit (redisStore: redis-rate-limit)
- Prisma (lacks in-built validation + lifecycle hooks)
- Redis
- Fork the repo
git clone https://github.com/<your-username>/prisma-orm.git <name>
cd <name>
yarn install
ornpm install
yarn run dev
ornpm run dev
- the app should be running at http://localhost:5000/
Using Database | With Cache |
---|---|
Response Time: 129.72 ms | Response Time: 0.418 ms |
Built from Classsed, Traversy Media, yoursTRULY and Coding Garden YouTube videos.