Skip to content

the-developer-network/tdn-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

295 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

TDN-API

The backend API powering The Developer Network —
a community platform built for developers, by developers.


Node.js  ·  Fastify  ·  PostgreSQL  ·  Redis  ·  Cloudflare R2


License PRs Welcome



Overview

TDN-API is the core RESTful backend service powering developernetwork.net. All content is managed through a unified Post model, differentiated by a type field:

Type Description
post General knowledge sharing and discussions
job Software industry job listings
news Industry news and announcements
update Package and library release notices

Getting Started

Prerequisites

Installation

git clone https://github.com/the-developer-network/tdn-api.git
cd tdn-api
pnpm install
cp .env.example .env

Fill in all required variables in the .env file.

Running

pnpm dev        # Development
pnpm build      # Build
pnpm start      # Production

Authentication

JWT-based Access + Refresh Token strategy.

Token Lifetime Usage
Access Token 15 min Authorization: Bearer <token>
Refresh Token 30 min Obtain a new access token

OAuth sign-in via GitHub and Google is supported.


📖 API Documentation

Visit our interactive documentation for all endpoint details, request/response models, and the test environment:

Contributing

Open an issue before submitting significant changes.

git checkout -b feature/your-feature
git commit -m "feat: describe your change"
git push origin feature/your-feature

Contact

Email   Admin


License

This repository is source-available. You are welcome to read, learn, and contribute.
Commercial use or redistribution without explicit written permission is not permitted.

See the LICENSE file for full terms.


© 2026 The Developer Network. All rights reserved.

Releases

No releases published

Packages

 
 
 

Contributors

Languages