Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ericvida/imba-blinkdb-idb-json-template

An Imba starter template with BlinkDB for blazing fast client-side in-memory data, and json file persistence via express and node.
https://github.com/ericvida/imba-blinkdb-idb-json-template

Last synced: about 1 month ago
JSON representation

An Imba starter template with BlinkDB for blazing fast client-side in-memory data, and json file persistence via express and node.

Awesome Lists containing this project

README

        

_Bootstrapped with [imba-base-template](https://github.com/imba/imba-base-template)._

# Imba + BlinkDB + IDB + JSON
An [Imba](https://imba.io) starter template with [BlinkDB](https://blinkdb.io/) for blazing fast client-side data, IDB session persistence and manual JSON saving.

Perfect for offline data management web-apps.

![CleanShot 2023-12-13 at 11 47 52](https://github.com/ericvida/imba-blinkdb-template/assets/13579055/6626958a-abc2-41ca-878c-21cbc2b5f9b7)

It's perfect for creating offline data json data management apps.
Or for quickly building client-side app.

## To use

Change directory to your desired directory for your new project.
### `cd ./Desktop/`

clone repo
### `git clone https://github.com/ericvida/imba-blinkdb-json-template.git imba-blinkdb-json`

## Install Dependencies

### `npm install`

You may replace `imba-blinkdb-json` for any folder name you'd like.

## Available Scripts

In the project directory, you can run:

### `npm dev`

Runs the server and website in the development mode with hot reloading, linting and detailed error output in the console, and source maps.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser. When you change your code, it will live reload.

### `npm run build`

Builds the app for production to the `dist` folder.

### `npm run start`

Quickly fire up the website in production mode through NPM, like `npm run dev` but without any development settings. Will also run on [http://localhost:3000](http://localhost:3000), and can be a quick way to get started with running this site on your server.

However, [to run Imba in production](https://imba.io/guide/run-in-production) it is recommended to use [PM2](https://github.com/Unitech/pm2) to manage the Node process(es).