0.0.1-beta.0 • Published 4 years ago
curli-http v0.0.1-beta.0
curli-http
A Http layer on Express without decorators.
Motivation
There are a lot of Http libraries for JavaScript/Typescript out there, this is not new. The one thing we're trying to achieve here is the ability to take advantage of such a library but without coupling it into the application's domain. The main goal here is to create a library that you can use without using third part code into your domains.
Installation
Install by npm
npm install --save curli-http
Basic Usage
import {RouterService} from "curli-http";
import {UserController} from "./Controllers";
const container = new DependencyInjection();
const routerService = new RouterService(expressApp, container);
routerService.addControllerClass(UserController);
Commands
npm run build
: Build the project (dependency injection).npm run build:clean
: Delete first the dist folder and build it.npm run clean
: Delete the dist folder.npm run test
: Execute the tests.npm run test:coverage
: Execute the tests and calculate the coverage.npm run lint
: Check the code using the rules in .eslintre.jsnpm run lint:fix
: Check the code and try to fix it.
Contributing
When submitting your pull-request try to follow those guides:
- https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github
- https://medium.com/@vadimdemedes/making-your-first-contribution-de6576ddb190
License
MIT
0.0.1-beta.9
4 years ago
0.0.1-beta.8
4 years ago
0.0.1-beta.7
4 years ago
0.0.1-beta.6
4 years ago
0.0.1-beta.5
4 years ago
0.0.1-beta.3
4 years ago
0.0.1-beta.2
4 years ago
0.0.1-beta.4
4 years ago
0.0.1-beta.1
4 years ago
0.0.1-beta.0
4 years ago