Skip to content

An educational project describing the ability to integrate the Metarhia local-first approach into regular React-based applications.

Notifications You must be signed in to change notification settings

zpwebbear/metarhia-react-local-first

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Local First Example Template

This is a React application that demonstrates the concept of "local first" by using a combination of local state management and remote data synchronization.

Attention

Code of this educational project is far from perfect and intended to only to be small example. Please don't look for the best practices of frontend or backend development here. Code of this project was written to demonstrate that "local first" approach doesn't need to be set up over only perfect designed applications.

Getting Started

To get started with the project, follow these steps:

  1. Clone the repository
git clone https://github.com/metarhia/react-local-first-example.git
  1. Choose the correct node version
nvm install
  1. Install dependencies
npm install
  1. Prepare env files
npm run prepare:env
  1. Run the infrastructure
npm run infrastructure:start
  1. Run the migrations
npm run migrate
  1. Start the development server
npm run dev
  1. Stop infrastructure
npm run infrastructure:stop

About

An educational project describing the ability to integrate the Metarhia local-first approach into regular React-based applications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published