Skip to content

ccrsxx/api

Repository files navigation

API

Personal API for my projects and services. Built with Node.js and Express. It provides small utility endpoints and integrations used across my projects.

Features

Currently available features/endpoints:

  • Open Graph image generation (OG images).
  • Spotify endpoints (currently-playing, top tracks, etc.).
  • Tools endpoints (quick diagnostics for headers, IP info, user-agent parsing, etc.).

Development

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 install
  4. Set up environment variables

    Create a copy of the .env.example file and name it .env.local. Fill in credentials as needed.

    copy .env.example .env.local
  5. Run the app in development

    npm run dev