Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Vite, React, TypeScript, SQL.js (SQLite), and Tailwind CSS are combined into a powerful boilerplate to enable quick web development, stunning style, and in-browser database capabilities.

License

Notifications You must be signed in to change notification settings

iliareshetov/react-sqlite-boilerplate

Repository files navigation

Vite React TypeScript SQL.js Tailwind Boilerplate

This project is a boilerplate that utilizes Vite, React, TypeScript, Tailwind, and SQL.js (SQLite).

Overview

This boilerplate serves as a starting point for building web applications that require a client-side, in-browser database powered by SQL.js.

  • Vite: A fast, versatile build tool for web development that provides instant server start and optimized production builds.

  • React: A popular JavaScript library for building user interfaces, enabling you to create interactive and responsive web applications.

  • TypeScript: A statically typed superset of JavaScript that enhances code quality and developer productivity.

  • SQL.js: A JavaScript library that uses emscripten to compile SQLite to webassembly

  • Tailwind CSS: A utility-first CSS framework that makes styling your web application a breeze, allowing you to build beautiful and responsive user interfaces with ease.

Live Demo

Here is a live demo that uses the SQLite database file of Chinook database as an example. The Chinook is a sample database that provides a set of tables and data, making it a great starting point to experiment with SQL.js features and functionalities.

You can access the live demo at Demo Link.

Getting Started

To get started with this boilerplate, follow these steps:

  1. Clone this repository to your local machine.
git clone https://github.com/iliareshetov/react-sqlite-boilerplate.git
  1. Install the project dependencies by running the following command in the project directory:
npm install
  1. Start the development server with the following command
npm run dev

Credits

This boilerplate is based on the work from the sql-js/react-sqljs-demo repository. I want to express my gratitude for their contributions and providing the foundation for this project.

About

Vite, React, TypeScript, SQL.js (SQLite), and Tailwind CSS are combined into a powerful boilerplate to enable quick web development, stunning style, and in-browser database capabilities.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /