This application demonstrates an offline-first approach to managing businesses and articles with automatic synchronization to MongoDB Atlas when online.
- Create, read businesses and articles
- Works offline with local data persistence
- Automatic synchronization when online
- Simple and intuitive UI
- Clone this repository
- Install dependencies:
npm install - Set up MongoDB Atlas:
- Create a free account
- Create a cluster
- Create a database user
- Whitelist your IP
- Update the connection string in
src/database.js - Run the application:
npm start
- Offline-First: All data is stored locally using RxDB with PouchDB/IndexedDB
- Automatic Sync: When online, changes are replicated to MongoDB Atlas
- Data Models: Businesses and Articles with a one-to-many relationship
- Reactivity: UI updates automatically when data changes