andsholinka / pokemon-api-ts

A RESTful API built with Express.js TypeScript and Redis caching

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skill Test Backend

Built with

  • ExpressJs - The web framework used.
  • TypeScript - Language for application-scale JavaScript.
  • MySQL - Relational database management system (RDBMS).
  • Redis - The in-memory data structure store.
  • PokeAPI - An open RESTful API for Pokémon data.
  • Cloudinary - Cloudinary is a SaaS technology, provides a cloud-based image and video management services.

Installation

  1. Make sure you have Node.js (version 18 or newer), NPM and MySql database installed on your system.
  2. Clone this repository to your local system:
    git clone https://github.com/andsholinka/pokemon-api-ts
  3. Navigate to the project directory:
    cd pokemon-api-ts
  4. Install project dependencies by running the following command:
    npm install
  5. Setup .env file
  6. Run the project locally with the command:
    npm run start

Features

  • Get list pokemon from pokeAPI.
  • Authentication and authorization.
  • Token and refresh token.
  • File storage with Cloudinary.
  • Redis for data caching.

DockerHub

https://hub.docker.com/r/respecker/express-typescript

About

A RESTful API built with Express.js TypeScript and Redis caching


Languages

Language:TypeScript 99.4%Language:Dockerfile 0.6%