Lithia

Getting Started

Welcome to the Lithia.js documentation.

What is Lithia.js?

Lithia.js is a Node.js framework for building server-side applications with file-based routing and a built-in development UI.

Inspired by the simplicity and power of Next.js, Lithia.js automatically converts your file structure into API routes, making it easy to build REST APIs.

Unlike other server-side Node.js frameworks, Lithia.js does not require any configuration, entry files, or decorators. All lower-level functionality is handled automatically, so you can focus on building your application.

Go ahead with this documentation to get started with your first application.

How to use the docs

The docs are structure into these sections:

  • Introduction - This section helps you understand the basics of Lithia.js, and how to install and use it.
  • Core Concepts - The core functionality of Lithia.js, like routing, middlewares, how request and response works and more.

Pre-requisite knowledge

Before you start, you'll need to know the following:

  • Node.js 20+ installed
  • Basic TypeScript knowledge (types are helpful but optional)
  • Familiarity with REST APIs (HTTP methods, status codes)

If you're new to Node.js, don't worry, we'll cover the basics in the introduction section.

Join our Community

If you have any questions, or want to share your thoughts, you can join our community on GitHub Discussions. You can also follow us on X and send us a message there.

For bug reports, feature requests, or any other feedback, you can use GitHub Issues. If you want to support us, you can buy us a coffee on Open Collective.

And for other topics, you can reach out to us at support@lithiajs.com.

Next Steps

Need help?