/redis-cache

This is an API that caches the authenticated user's information using Redis.

Primary LanguageTypeScriptMIT LicenseMIT

js-standard-style License: MIT Open Source

Redis Cache

This is an API that caches the authenticated user's information using Redis.
Explore the docs »

· Report Bug · Request Feature

🐾 About The Project

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.

🚀 Installation

  1. Clone the repo
    git clone https://github.com/lucfersan/redis-cache
  2. Install NPM packages
    yarn
  3. You'll need a Postgres and a Redis server running using docker or your local machine.

🖥️ Running the app

# development
$ yarn dev

# production mode
$ yarn build
$ yarn start

🔺 Prisma Studio

$ yarn prisma studio

🗞️ License

Distributed under the MIT License. See LICENSE for more information.

🤝 Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📧 Contact

Lucas Fernandes - fernandes.lucas11@outlook.com