https://github.com/ericvida/imba-file-system-template
https://github.com/ericvida/imba-file-system-template
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ericvida/imba-file-system-template
- Owner: ericvida
- Created: 2022-10-28T09:36:18.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-18T06:00:23.000Z (almost 3 years ago)
- Last Synced: 2025-06-14T11:07:04.751Z (12 months ago)
- Language: Imba
- Size: 77.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
_Bootstrapped with [imba-base-template](https://github.com/imba/imba-base-template)._
This imba template, demonstrates how to use fs (file system) as a data storage serverside.
All relevant code is found in
- `./app/client.imba` which contains ui and ui functions
- `./db.json which` serves as the database.
- `./server.imba` which contains api functions
## install dependencies
### `npm i`
## Available Scripts
In the project directory, you can run:
### `npm run 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.