Personal API for my projects and services. Built with Node.js and Express. It provides small utility endpoints and integrations used across my projects.
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.).
Steps to run the project locally:
-
Clone the repository
git clone https://github.com/ccrsxx/api.git
-
Change directory to the project
cd api -
Install dependencies
npm install
-
Set up environment variables
Create a copy of the
.env.examplefile and name it.env.local. Fill in credentials as needed.copy .env.example .env.local
-
Run the app in development
npm run dev