JS20 - read as "JavaScript 2.0" - is a standard for writing backend applications in TypeScript that automatically generates the frontend SDK. The goal of JS20 is to do anything that is repetitive for you: Auth, ACL, Validation, Sanitation, ORM / queries, and more - so you can focus on only the business logic.
🚀 JS20 has shown to reduce code by up to 90% in real world applications. This reduces bugs, improves maintainability, and speeds up development.
✨ Generate a new JS20 project with the command below. This will set up a simple project structure, with an example app & all required dependencies.
npx @js20/coreimport { App } from '@js20/core';
const app = new App();
app.start();
Provides the following output:
Express server is running on port 3000 🚀
Example requests:
- GET /
200 OK
{
"message": "Running"
}
Note: JS20 is currently in beta. We are working on the final pieces to make it fully production-ready. Please try it out and give us feedback, but we don't recommend using it in production yet.