Giter Site home page Giter Site logo

backts's Introduction

BackTS - The TypeScript Backoffice Framework

โš ๏ธ Note: This project is currently under development and not ready for production use.

License

Introduction

This project is an opinionated framework aimed at simplifying the development of backoffices in TypeScript. By leveraging a modern, serverless architecture and Google Cloud's robust tools, it offers a comprehensive solution for quickly building scalable, efficient backoffice applications.

Key technologies

Google Cloud

This framework strongly relies in Google Cloud. Basically because:

  • It provides one of the best developer experiences.
  • It has unique components like BigQuery and Firestore, which allows great scalability with pay-as-you-go pricing.

The following is a list of the key technologies we plan to use:

  • Authentication: Firebase Authentication
  • Database: Firestore (Real-time, scalable, serverless). Also in the plan is to suport relational databases like Cloud SQL as we understand that not all applications can be built with NoSQL databases.
  • Analytics: BigQuery
  • Serverless Functions: Cloud Run
  • Scheduling: Cloud Scheduler
  • Secrets Management: Secret Manager
  • Server Environment: Focused on Node.js to ensure compatibility with Google SDKs, despite an interest in exploring modern solutions like Deno or Bun when they become more mature.

Roadmap

Our framework is designed to include a comprehensive set of features necessary for any backoffice application, which are currently under development:

Prio 1

  • Monorepo: Use a monorepo structure to manage the entire project. This allows code sharing at the same time that is imposes strict boundaries between different parts of the application.
  • RPC: Implement a robust RPC mechanism for serverless functions, strongly typed and easy to use.
  • Secure Frontend: Ensure the frontend is private and not hosted on public CDNs.
  • Data Validation: Implement robust validation using tools such as Zod, Yup, or Joi.
  • Domain Modeling: Define entities and schemas clearly.
  • Intuitive UI: Design an easy-to-navigate menu and user interface.
  • Search: Implement powerful search capabilities to easily navigate data.

Prio 2

  • Task Scheduling: Incorporate scheduling capabilities for recurring tasks.
  • Data Flow Management: Establish clear data flow and dependencies.
  • Real-Time Notifications: Provide immediate feedback and notifications.
  • Efficient Data Loading: Optimize data loading mechanisms.
  • Monitoring and Analytics: Integrate monitoring and analytics for insight into operations.

Prio 3

  • AI/Assistants: Leverage AI to enhance user interaction and data management.

Prio 4

  • VSCode Extension: Develop an extension for VSCode to streamline the development process further.

Tech choices

  • TypeScript: The entire project is written in TypeScript to ensure type safety and a better developer experience. It is the only language that allows us to share types and logic between the frontend and the backend.
  • TypeScript tools: Tsup, turborepo, esbuild.
  • Frontend: React
  • HTTP Server: Thin custom server on top of Node HTTP server. We don't like the global aspect of express where every handler is like defining a global variable, and we like low-level control over the server.
  • RPC: tRPC
  • Database: Firestore

backts's People

Watchers

Marc Canaleta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.