Skip to content

ccrsxx/api

Repository files navigation

API

My personal API for my projects and services. This API is built with Node.js and Express.js, and it serves as a backend for various features that I use across my projects.

Features

Currently, the features include:

  • Open Graph Image Generation: Generates Open Graph images for my projects.
  • Spotify API: Provides access to my Spotify data, like my currently playing track, top tracks, etc.

Development

Here are the steps to run the project locally:

  1. Clone the repository

    git clone https://github.com/ccrsxx/api.git
  2. Change directory to the project

    cd api
  3. Install dependencies

    npm i
  4. Set up environment variables

    Create a copy of the .env.example file and name it .env.local. Make sure to fill in the credentials correctly.

    cp .env.example .env.local
  5. Run the app

    npm run dev