NestJS REST API boilerplate alternatives and similar modules
Based on the "Web Frameworks" category.
Alternatively, view nestjs-boilerplate alternatives based on common mentions on social networks and blogs.
-
Express
Fast, unopinionated, minimalist web framework for node. -
Nest
A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications on top of TypeScript & JavaScript (ES6, ES7, ES8) π -
Nuxt.js
Nuxt is an intuitive and extendable way to create type-safe, performant and production-grade full-stack web apps and websites with Vue 3. [Moved to: https://github.com/nuxt/nuxt] -
Koa
Expressive middleware for node.js using ES2017 async functions -
fastify
Fast and low overhead web framework, for Node.js -
egg
π₯ Born to build better enterprise frameworks and apps with Node.js & Koa -
verdaccio
π¦π A lightweight Node.js private proxy registry -
Feathers
The API and real-time application framework -
AdonisJs Framework
π The Node.js Framework highly focused on developer ergonomics, stability and confidence -
TypeGraphQL
Create GraphQL schema and resolvers with TypeScript, using classes and decorators! -
MERN
βοΈ DEPRECATED - Boilerplate for getting started with MERN stack -
Quick Start
π A Node.js Serverless Framework for front-end/full-stack developers. Build the application for next decade. Works on AWS, Alibaba Cloud, Tencent Cloud and traditional VM/Container. Super easy integrate with React and Vue. π -
ThinkJS
Use full ES2015+ features to develop Node.js applications, Support TypeScript. -
Moleculer
:rocket: Progressive microservices framework for Node.js -
LoopBack
LoopBack makes it easy to build modern API applications that require complex integrations. -
Derby
MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers -
ActionHero
Actionhero is a realtime multi-transport nodejs API Server with integrated cluster capabilities and delayed tasks -
Lad
Node.js framework made by a former @expressjs TC and @koajs team member. Built for @forwardemail, @spamscanner, @breejs, @cabinjs, and @lassjs. -
tinyhttp
π¦ 0-legacy, tiny & fast web framework as a replacement of Express -
Marble.js
Marble.js - functional reactive Node.js framework for building server-side applications, based on TypeScript and RxJS. -
sqs-consumer
Build Amazon Simple Queue Service (SQS) based applications without the boilerplate -
FoalTS
Full-featured Node.js framework, with no complexity. π Simple and easy to use, TypeScript-based and well-documented. -
Trails
:evergreen_tree: Modern Web Application Framework for Node.js. -
modern-errors
Handle errors in a simple, stable, consistent way -
lychee.js
:seedling: Next-Gen AI-Assisted Isomorphic Application Engine for Embedded, Console, Mobile, Server and Desktop -
Hemera
π¬ Writing reliable & fault-tolerant microservices in Node.js https://hemerajs.github.io/hemera/ -
Interfake
:computer: Fake APIs for prototypes & automated tests. -
Catberry
Catberry is an isomorphic framework for building universal front-end apps using components, Flux architecture and progressive rendering. -
dawson-cli
A serverless web framework for Node.js on AWS (CloudFormation, CloudFront, API Gateway, Lambda) -
AdonisJs Application
This repo is the pre-configured project structure to be used for creating ambitious web servers using AdonisJs. -
sqs-producer
Simple scaffolding for applications that produce SQS messages -
Perk
A well documented set of tools for building node web applications. -
Restberry
Framework for setting up RESTful JSON APIs with NodeJS. -
Zeronode
Zeronode - minimal building block for NodeJS microservices -
QueryQL
Easily add filtering, sorting, and pagination to your Node.js REST API through your old friend: the query string! -
express-version-route
A Node.js express middleware that implements API versioning for route controllers -
FortJs
Component based MVC web framework for nodejs targeting good code structures & modularity. -
khalis
Grab Blogger & Google Photos, mp4upload.com,cloudvideo.tv, etc streaming link -
Coher3nTS Project
Cross-platform project template using Electron and Angular with the Phaser game engine. Project has Flexbox integrated for easy and responsive organization of components around the Phaser canvas.
AWS Cloud-aware infrastructure-from-code toolbox [NEW]
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of NestJS REST API boilerplate or a related project?
README
NestJS REST API boilerplate πΊπ¦
Description
NestJS REST API boilerplate for typical project
Table of Contents
- Features
- Quick run
- Comfortable development
- Links
- Automatic update of dependencies
- Database utils
- Tests
Features
- [x] Database (typeorm).
- [x] Seeding.
- [x] Config Service (@nestjs/config).
- [x] Mailing (nodemailer, @nestjs-modules/mailer).
- [x] Sign in and sign up via email.
- [x] Social sign in (Apple, Facebook, Google, Twitter).
- [x] Admin and User roles.
- [x] I18N (nestjs-i18n).
- [x] File uploads. Support local and Amazon S3 drivers.
- [x] Swagger.
- [x] E2E and units tests.
- [x] Docker.
- [x] CI (Github Actions).
Quick run
git clone --depth 1 https://github.com/brocoders/nestjs-boilerplate.git my-app
cd my-app/
cp env-example .env
docker-compose up -d
For check status run
docker-compose logs
Comfortable development
git clone --depth 1 https://github.com/brocoders/nestjs-boilerplate.git my-app
cd my-app/
cp env-example .env
Change DATABASE_HOST=postgres
to DATABASE_HOST=localhost
Change MAIL_HOST=maildev
to MAIL_HOST=localhost
Run additional container:
docker-compose up -d postgres adminer maildev redis
npm install
npm run migration:run
npm run seed:run
npm run start:dev
Links
- Swagger: http://localhost:3000/docs
- Adminer (client for DB): http://localhost:8080
- Maildev: http://localhost:1080
Automatic update of dependencies
If you want to automatically update dependencies, you can connect Renovate for your project.
Database utils
Generate migration
npm run migration:generate -- src/database/migrations/CreateNameTable
Run migration
npm run migration:run
Revert migration
npm run migration:revert
Drop all tables in database
npm run schema:drop
Run seed
npm run seed:run
Tests
# unit tests
npm run test
# e2e tests
npm run test:e2e
Tests in Docker
docker-compose -f docker-compose.ci.yaml --env-file env-example -p ci up --build --exit-code-from api && docker-compose -p ci rm -svf
Test benchmarking
docker run --rm jordi/ab -n 100 -c 100 -T application/json -H "Authorization: Bearer USER_TOKEN" -v 2 http://<server_ip>:3000/api/v1/users