ujjwalguptaofficial / Fortjs

Licence: mit
Component based MVC web framework for nodejs targeting good code structures & modularity.

Programming Languages

typescript
32286 projects
es6
455 projects

Projects that are alternatives of or similar to Fortjs

Cppwebframework
​The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications.
Stars: ✭ 348 (+690.91%)
Mutual labels:  framework, server, http-server
Pure Http
✨ The simple web framework for Node.js with zero dependencies.
Stars: ✭ 139 (+215.91%)
Mutual labels:  framework, server, http-server
Abc
A better Deno framework to create web application.
Stars: ✭ 514 (+1068.18%)
Mutual labels:  framework, server
Vesper
Vesper is a NodeJS framework that helps you to create scalable, maintainable, extensible, declarative and fast GraphQL-based server applications.
Stars: ✭ 576 (+1209.09%)
Mutual labels:  framework, nodejs-framework
Iodine
iodine - HTTP / WebSockets Server for Ruby with Pub/Sub support
Stars: ✭ 720 (+1536.36%)
Mutual labels:  server, http-server
Iris
The fastest HTTP/2 Go Web Framework. AWS Lambda, gRPC, MVC, Unique Router, Websockets, Sessions, Test suite, Dependency Injection and more. A true successor of expressjs and laravel | 谢谢 https://github.com/kataras/iris/issues/1329 |
Stars: ✭ 21,587 (+48961.36%)
Mutual labels:  framework, server
Comedy
Node.js actor framework.
Stars: ✭ 474 (+977.27%)
Mutual labels:  framework, nodejs-framework
Vibora
Fast, asynchronous and elegant Python web framework.
Stars: ✭ 5,734 (+12931.82%)
Mutual labels:  framework, server
Sylar
C++高性能分布式服务器框架,webserver,websocket server,自定义tcp_server(包含日志模块,配置模块,线程模块,协程模块,协程调度模块,io协程调度模块,hook模块,socket模块,bytearray序列化,http模块,TcpServer模块,Websocket模块,Https模块等, Smtp邮件模块, MySQL, SQLite3, ORM,Redis,Zookeeper)
Stars: ✭ 895 (+1934.09%)
Mutual labels:  framework, http-server
Webcpp
用C++开发web服务器框架
Stars: ✭ 23 (-47.73%)
Mutual labels:  framework, http-server
Jerrymouse
A scalable java servlet container base on reactor
Stars: ✭ 27 (-38.64%)
Mutual labels:  server, http-server
Vapor
💧 A server-side Swift HTTP web framework.
Stars: ✭ 21,194 (+48068.18%)
Mutual labels:  framework, server
Binserve
A blazingly fast static web server with routing, templating, and security in a single binary you can set up with zero code. ⚡️🦀
Stars: ✭ 401 (+811.36%)
Mutual labels:  server, http-server
Warp
A super-easy, composable, web server framework for warp speeds.
Stars: ✭ 5,717 (+12893.18%)
Mutual labels:  framework, server
Spikenail
A GraphQL Framework for Node.js
Stars: ✭ 358 (+713.64%)
Mutual labels:  framework, nodejs-framework
Spock
Another Haskell web framework for rapid development
Stars: ✭ 623 (+1315.91%)
Mutual labels:  framework, server
Freedom
Freedom是一个基于六边形架构的框架,可以支撑充血的领域模型范式。
Stars: ✭ 972 (+2109.09%)
Mutual labels:  framework, server
Neutralinojs
Portable and lightweight cross-platform desktop application development framework
Stars: ✭ 4,731 (+10652.27%)
Mutual labels:  framework, http-server
Restana
Super fast and minimalist framework for building REST micro-services.
Stars: ✭ 341 (+675%)
Mutual labels:  framework, http-server
Deno Drash
A REST microframework for Deno's HTTP server with zero 3rd party dependencies.
Stars: ✭ 795 (+1706.82%)
Mutual labels:  framework, server

Component based MVC web framework for nodejs targeting good code structures & modularity.

GitHub version Build Status npm version Docs

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

http://fortjs.info/

Contributors

You are very welcome to contribute, please see contributing guidelines - [Contribute].

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].