Skip to content

Commit

Permalink
update readme with new link
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwalguptaofficial committed Jun 26, 2023
1 parent 721af16 commit 415ce08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 36 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16

# Runs a single command using the runners shell
- name: Install dependencies
Expand Down
39 changes: 3 additions & 36 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Component based MVC web framework for [nodejs](https://nodejs.org/en/) targeting good code structures & modularity.

[![GitHub version](https://badge.fury.io/gh/ujjwalguptaofficial%2Ffortjs.svg)](https://badge.fury.io/gh/ujjwalguptaofficial%2Ffortjs)
[![Build Status](https://travis-ci.org/ujjwalguptaofficial/fortjs.svg?branch=master)](https://travis-ci.org/ujjwalguptaofficial/fortjs)
[![TEST](https://github.com/ujjwalguptaofficial/fortjs/actions/workflows/test.yml/badge.svg)](https://github.com/ujjwalguptaofficial/fortjs/actions/workflows/test.yml)
[![npm version](https://badge.fury.io/js/fortjs.svg)](https://badge.fury.io/js/fortjs)
[![Docs](https://img.shields.io/badge/docs-available-brightgreen.svg)](http://fortjs.info/)

Expand All @@ -20,46 +20,14 @@ Component based MVC web framework for [nodejs](https://nodejs.org/en/) targeting
* Everything can be unit tested, so you can use a [TDD](https://guide.freecodecamp.org/agile/test-driven-development/) approach.
* TypeScript Support - Fully supported for typescript users.

# How to use
# Docs

## 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}`);
})
```
https://ujjwalguptaofficial.github.io/fortjs-doc/

# Examples

Check out repo - https://github.com/ujjwalguptaofficial/fortjs-examples

# Website

http://fortjs.info/

## Contributors

Expand All @@ -69,7 +37,6 @@ You are very welcome to contribute, please see contributing guidelines - [[Contr

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
Expand Down

0 comments on commit 415ce08

Please sign in to comment.