This is an API that caches the authenticated user's information using Redis.
Explore the docs ยป
ยท
Report Bug
ยท
Request Feature
I made this project based on the @Rocketseat video about Redis cache, which talks about performance on the databases and how caching some common information makes the application faster avoiding multiple connections.
- Clone the repo
git clone https://github.com/lucfersan/redis-cache
- Install NPM packages
yarn
- You'll need a Postgres and a Redis server running using docker or your local machine.
# development
$ yarn dev
# production mode
$ yarn build
$ yarn start
$ yarn prisma studio
Distributed under the MIT License. See LICENSE
for more information.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Lucas Fernandes - fernandes.lucas11@outlook.com