This starter scaffolds an app with:
- Frontend
- Backend
- Node.js Server (Hapi)
- API (Wildcard)
- Database (SQLite)
- ORM (Objection.js)
Use this starter if:
- You need interactive views
- You need a Database
- You like SQL
Objection.js is an ORM that stays out of your way — it makes it as easy as possible to use the full power of SQL.
Wildcard allows you to create an API simply by creating JavaScript functions. This means that you can write SQL queries to expose data to your frontend. You can use Wildcard as a secure SQL as API.
If SQL is your thing, you'll be pleased.
-
Get the code.
git clone [email protected]:reframejs/reframe-sql
-
Install the dependencies.
cd reframe-sql/ && yarn install
-
Start the dev server.
yarn dev
That's it: you can now go to http://localhost:3000 and start hacking.