Description
Fort based MVC web framework for nodejs targeting good code structures & modularity.
FortJs alternatives and similar modules
Based on the "Web Frameworks" category.
Alternatively, view FortJs alternatives based on common mentions on social networks and blogs.
-
Nest
A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript ๐ -
Nuxt.js
DISCONTINUED. 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] -
AdonisJs Framework
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. -
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. ๐ -
Encore
Open Source Development Platform for building robust type-safe distributed systems with declarative infrastructure -
Derby
MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers -
NestJS REST API boilerplate
NestJS boilerplate. Auth, TypeORM, Mongoose, Postgres, MongoDB, Mailing, I18N, Docker. -
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. -
Marble.js
Marble.js - functional reactive Node.js framework for building server-side applications, based on TypeScript and RxJS. -
lychee.js
DISCONTINUED. :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/ -
Catberry
Catberry is an isomorphic framework for building universal front-end apps using components, Flux architecture and progressive rendering. -
dawson-cli
DISCONTINUED. A serverless web framework for Node.js on AWS (CloudFormation, CloudFront, API Gateway, Lambda) -
AdonisJs Application
DISCONTINUED. This repo is the pre-configured project structure to be used for creating ambitious web servers using AdonisJs. -
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 -
Prim+RPC
Easy-to-understand, type-safe, transport-agnostic RPC/IPC for JavaScript, supporting callbacks, batching, file handling, custom serialization, and more.
CodeRabbit: AI Code Reviews for Developers
* 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 FortJs or a related project?
Popular Comparisons
README
Component based MVC web framework for nodejs targeting good code structures & modularity.
Why fortjs
- Based on Fort architecture.
- MVC Framework and follows OOPS approach so everything is class and object.
- Provides components - Wall, Shield and Guard. Components help modularize the application.
- No callback, Uses ES6 async/await or promise for executing asychronous code.
- Everything is configurable - you can configure your session store, view engine, websocket etc.
- Dependency Injection.
- Everything can be unit tested, so you can use a TDD approach.
- TypeScript Support - Fully supported for typescript users.
How to use
Controller
import {Controller, DefaultWorker, textResult } from "fortjs"
export class UserController extends Controller{
@DefaultWorker()
async getUsers(){
return textResult("Hey, I am get users method");
}
}
Bootstrap
import { Fort } from "fortjs";
import { UserController } from "./controllers";
// add routes
Fort.routes = [{
controller: UserController,
path: "/user"
}]
// initiate app
Fort.create().then(()=>{
Fort.logger.info(`App is started at location : http://localhost:${Fort.port}`);
})
Examples
Check out repo - https://github.com/ujjwalguptaofficial/fortjs-examples
Website
Contributors
You are very welcome to contribute, please see contributing guidelines - [[Contribute](CONTRIBUTING.MD)].
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. For sponsoring, contact author of this project.
TODO
- Absolute route
- Retrieve dependency injection value from anywhere like in service