denoland /
deno
A modern runtime for JavaScript and TypeScript.
96/100 healthLoading repository data…
lmdvlpr / repository
A modern and scalable boilerplate for building RESTful APIs using Node.js, TypeScript, Fastify, Prisma ORM, and PostgreSQL, with automatic API documentation generated via Swagger.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A modern and scalable boilerplate for building RESTful APIs using Node.js, TypeScript, Fastify, Prisma ORM, and PostgreSQL, with automatic API documentation generated via Swagger.
This project is designed to accelerate the development of robust backend.
@fastify/swagger and @fastify/swagger-ui.tsx watch.tsup.Follow the steps below to set up the project locally:
git clone https://github.com/your-username/nodejs-backend-api-boilerplate-ts.git
cd nodejs-backend-api-boilerplate-ts
pnpm install
DATABASE_URL="postgresql://user:password@localhost:5432/dbname?schema=public"
PORT=3000
npx prisma migrate dev --name init
Development Mode: Use the dev script to start the server with auto-reloading:
pnpm run dev
The server will be available at http://localhost:8080 (or the port defined in .env).
Production Mode: Build the project and start the server:
pnpm run build
Accessing the API:
Base Endpoint: http://localhost:8080/
Swagger Documentation: Access the interactive API interface at: http://localhost:8080/docs
PS: The documentation is automatically generated and details all configured endpoints.
Example Request To test the API, you can use tools like curl, Postman, or the Swagger UI.
Example with curl:
curl -X GET http://localhost:3000/health
Assuming a /health endpoint is configured as a status check.
├── prisma/
│ └── schema.prisma # Database schema definition
├── src/ # Source folder
├──── routes/ # API route definitions
├──── utils/ # Utilities for API
│ └── prisma.ts # File that exports prisma client
│ ├── env.ts # Environment schema with Zod
│ ├── server.ts # Application entry point
├── .env # Environment variables
├── .gitignore # Git configuration for igonre files and folders
├── biome.json # Biome configuration
├── LICENSE.txt # License for the project
├── package.json # Dependencies and scripts
├── README.md # Project documentation
├── tsconfig.json # TypeScript configuration
└── tsup.config.ts # Tsup configuration
Production Dependencies
@fastify/cors: Enables CORS support.@fastify/swagger: Swagger documentation generation.@fastify/swagger-ui: Graphical interface for Swagger.@prisma/client: Prisma client for database interaction.fastify: Core framework for the API.fastify-type-provider-zod: Integration between Fastify and Zod.zod: Schema validation library.Development Dependencies
@biomejs/biome: Linting and formatting tool.@types/node: Type definitions for Node.js.prisma: Prisma CLI for migrations and schema generation.tsup: TypeScript build tool.tsx: TypeScript execution for development.typescript: TypeScript compiler.Fork the repository: Click the "Fork" button on GitHub.
Clone your fork locally:
bash git clone https://github.com/your-username/nodejs-backend-api-boilerplate-ts.git
Create a feature branch:
bash git checkout -b feature/new-feature
Commit your changes:
bash git commit -m "Add new feature"
Push to the remote repository:
bash git push origin feature/new-feature
Open a Pull Request: On GitHub, create a PR describing your changes.
This project is licensed under the MIT License.
See the LICENSE file for details.
Selected from shared topics, language and repository description—not editorial ratings.
denoland /
A modern runtime for JavaScript and TypeScript.
96/100 healthlerna /
Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
97/100 healthvbenjs /
A modern vue admin panel built with Vue3, Shadcn UI, Vite, TypeScript, and Monorepo. It's fast!
adonisjs /
AdonisJS is a TypeScript-first web framework for building web apps and API servers. It comes with support for testing, modern tooling, an ecosystem of official packages, and more.
95/100 healthwasp-lang /
A 100% free modern JS SaaS boilerplate (React, NodeJS, Prisma). Full-featured: Auth (email, google, github, slack, MS), Email sending, Background jobs, Landing page, Payments (Stripe, Polar.sh), Shadcn UI, S3 file upload. AI-ready with tailored AGENTS.md, skills, and Claude Code plugin. One cmd deploy. Powered by Wasp full-stack framework.
96/100 healthSnouzy /
🏋 Modern open-source fitness coaching platform. Create workout plans, track progress, and access a comprehensive exercise database.
94/100 health