Giter Club home page Giter Club logo

lucid's Introduction

Lucid

Lucid helps build & ship apps that scale infinitely with maximum performance, in record time with amazing DX and no vendor lock-in.

Backends can be very complex, expensive, and non-performant. Lucid helps solve these problems by providing you with a framework that replaces the need for one. By leveraging SurrealDB, a powerful, all-in-one database engine with a typed abstraction acting as an ORM, lucid enables you to ship and scale faster and with ease. This means you don't pay for servers (other than your database), most all of the backend logic is executed on SurrealDB (which is made with Rust and highly performative) and provides full typing so you can focus on your UX and business requirements.

Our goal is to build an enterprise ready framework, and a full testing suite, so that you can sleep in peace knowing your app works just the way you expect it to.

See how we plan on reducing boilerplate code

Usage

To use Lucid, you can install it via NPM (and other package managers):

npm install @lucid-framework/orm

We are currently in the process of building the Docs, which will provide a more indepth guide and examples of how you can utilise Lucid.

Packages

  • โœ… ORM - Lucid ORM
  • โœ… SurrealDB Client - TS based client for Surreal DB
  • ๐Ÿšง Payments - Manage your billing and payments through Lucid

Internally, Lucid has many packages such as schema-generator which handle much of the functionality exposed to you, the developer. We suggest you read the docs to make yourself familiar with the ecosystem.

FAQ

How does it compare with GraphQL / Hasura?
With GraphQL you would have to write a backend, unless you are using a service such as Hasura (which is a layer on top of your DB - incurring additional costs) and types would have to be generated on every build, this could lead to runtime issues if not setup properly and there is an overhead for GraphQL, as well as limited functionality that is limited by the GraphQL spec.

Still, GraphQL can be a great solution and we advice you do your own research to make the right decision.
How does it compare with tRPC?
tRPC is relatively a new library, which limits you by having you write a backend and forces you to use Node on the backend.

Still, tRPC can be a great solution and we advice you do your own research to make the right decision.
Can I use Lucid with React / Vue / Svelte etc.?
Lucid is framework agnostic, meaning you can use it with React, Vue, Svelte, Angular or your framework of choice. We intend to provide packages for popular frameworks such as svelte, down the line.

Maintainers

  • Chiru B. (@itsezc)
  • Drew R. (@DrewRidley)
  • Soya (@soya-miruku)

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.