The backend API powering The Developer Network —
a community platform built for developers, by developers.
Node.js · Fastify · PostgreSQL · Redis · Cloudflare R2
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 |
- Node.js
v25.8.1 - pnpm
10.30.1 - PostgreSQL
- Redis
git clone https://github.com/the-developer-network/tdn-api.git
cd tdn-api
pnpm install
cp .env.example .envFill in all required variables in the .env file.
pnpm dev # Development
pnpm build # Build
pnpm start # ProductionJWT-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.
Visit our interactive documentation for all endpoint details, request/response models, and the test environment:
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-featureThis 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.