odi-ts / odi Goto Github PK
View Code? Open in Web Editor NEW๐ช๐ Opinionated, Declarative, Idiomatic framework for building scalable, supportable and reliable enterprise applications.
Home Page: https://odi.gitbook.io
License: MIT License
๐ช๐ Opinionated, Declarative, Idiomatic framework for building scalable, supportable and reliable enterprise applications.
Home Page: https://odi.gitbook.io
License: MIT License
Create a simple landing page with features description and detailed information about the framework.
It might be more clear to use if we have no to append '/'
before route.
Ex: @controller('api/users'), not @controller('/api/users')
Support -
types: singleton , pool, default
predefined properties and constructor args
I have the following code in a controller:
@RouteGet("/hey") sayHello() {
return `<h1>Hey!</h1>`
}
But the return type is text/plain
. How do I make the return type text/html
?
Hello, I'm wondering whether it's easy to build a cli for the framework? It'd be good if we can initialize projects with sane defaults (e.g., --api-only
, etc.). ๐ค
I get the following error when attempting to use a query decorator:
Error: schema is invalid: data.properties['required'] should be object, boolean
Here is the example query:
import { Query, IsRequired } from "odi";
@Query()
export class GreetingQueryDto {
@IsRequired() name: string;
}
i'm getting cors errors on the front-end, how to add cors.
Bind and handle errors for all statuses.
I'd really love to use Odi for a new project, but I decided to use GraphQl as DB and this feature is currently not supported. Is it possible to give a hint on the release date? Would be nice.
JSON, YAML, TS, or something like that
Does this support react non-pure components?
I just tried using useState and class components where it updates every second, something like a timer, but it didn't reflect as expected!
Are there plans to make a built-in asset pipeline based on Webpack, Parcel or Rollup? That would be awesome.
Hi there, there is a new typescript runtime called Deno.
I'm exicted because it will reach 1.0 version after 2 years of development in the next weeks.
I would like to use odi on Deno. It hasn't the same Node api, but i think porting should be easy.
Targeting more than one javascript runtime could increase popularity of this framework.
I saw in Readme that one of the Odi features will be GraphQL.
Have you considered using TypeGraphQL for that, just like NestJS? ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.