The title of your page, displayed in the bowser tab
diff --git a/packages/builder/src/components/userInterface/PropsView.svelte b/packages/builder/src/components/userInterface/PropsView.svelte
index bbb657ed6b..3edcb8977f 100644
--- a/packages/builder/src/components/userInterface/PropsView.svelte
+++ b/packages/builder/src/components/userInterface/PropsView.svelte
@@ -24,7 +24,7 @@
diff --git a/packages/builder/src/pages/[application]/backend/_layout.svelte b/packages/builder/src/pages/[application]/backend/_layout.svelte
new file mode 100644
index 0000000000..153226dc5a
--- /dev/null
+++ b/packages/builder/src/pages/[application]/backend/_layout.svelte
@@ -0,0 +1,40 @@
+
+
+
+
+
diff --git a/packages/builder/src/components/accessLevels/AccessLevelsRoot.svelte b/packages/builder/src/pages/[application]/backend/accesslevels/index.svelte
similarity index 60%
rename from packages/builder/src/components/accessLevels/AccessLevelsRoot.svelte
rename to packages/builder/src/pages/[application]/backend/accesslevels/index.svelte
index f53afae5f6..3a0337cbfb 100644
--- a/packages/builder/src/components/accessLevels/AccessLevelsRoot.svelte
+++ b/packages/builder/src/pages/[application]/backend/accesslevels/index.svelte
@@ -1,4 +1,7 @@
+
+
+
{breadcrumbs}
+ {#if $backendUiStore.selectedDatabase.id}
+
+ Create new record
+
+ {/if}
+
+{#if $backendUiStore.selectedDatabase.id}
+
+{/if}
+
+
diff --git a/packages/builder/src/pages/[application]/backend/database/_layout.svelte b/packages/builder/src/pages/[application]/backend/database/_layout.svelte
new file mode 100644
index 0000000000..79804d3f71
--- /dev/null
+++ b/packages/builder/src/pages/[application]/backend/database/_layout.svelte
@@ -0,0 +1,39 @@
+
+
+
+
+
diff --git a/packages/builder/src/pages/[application]/backend/database/index.svelte b/packages/builder/src/pages/[application]/backend/database/index.svelte
new file mode 100644
index 0000000000..359c33171e
--- /dev/null
+++ b/packages/builder/src/pages/[application]/backend/database/index.svelte
@@ -0,0 +1,23 @@
+
+
+Please select a database
diff --git a/packages/builder/src/pages/_[application]/backend/index.svelte b/packages/builder/src/pages/[application]/backend/index.svelte
similarity index 69%
rename from packages/builder/src/pages/_[application]/backend/index.svelte
rename to packages/builder/src/pages/[application]/backend/index.svelte
index 09345bc127..82c0f9e069 100644
--- a/packages/builder/src/pages/_[application]/backend/index.svelte
+++ b/packages/builder/src/pages/[application]/backend/index.svelte
@@ -3,4 +3,4 @@
$goto("../database")
-
+
diff --git a/packages/builder/src/pages/[application]/frontend/_layout.svelte b/packages/builder/src/pages/[application]/frontend/_layout.svelte
new file mode 100644
index 0000000000..bead97cca4
--- /dev/null
+++ b/packages/builder/src/pages/[application]/frontend/_layout.svelte
@@ -0,0 +1,22 @@
+
+
+
diff --git a/packages/builder/src/pages/[application]/frontend/index.svelte b/packages/builder/src/pages/[application]/frontend/index.svelte
new file mode 100644
index 0000000000..89b0a83720
--- /dev/null
+++ b/packages/builder/src/pages/[application]/frontend/index.svelte
@@ -0,0 +1,5 @@
+
+
+
diff --git a/packages/builder/src/pages/_[application]/index.svelte b/packages/builder/src/pages/[application]/index.svelte
similarity index 69%
rename from packages/builder/src/pages/_[application]/index.svelte
rename to packages/builder/src/pages/[application]/index.svelte
index 25636f83f1..4b5dbb6a3e 100644
--- a/packages/builder/src/pages/_[application]/index.svelte
+++ b/packages/builder/src/pages/[application]/index.svelte
@@ -3,4 +3,4 @@
$goto("../backend")
-
+
diff --git a/packages/builder/src/pages/[application]/settings/_layout.svelte b/packages/builder/src/pages/[application]/settings/_layout.svelte
new file mode 100644
index 0000000000..eff7c155d3
--- /dev/null
+++ b/packages/builder/src/pages/[application]/settings/_layout.svelte
@@ -0,0 +1,2 @@
+
+
diff --git a/packages/builder/src/pages/_[application]/settings/index.svelte b/packages/builder/src/pages/[application]/settings/index.svelte
similarity index 100%
rename from packages/builder/src/pages/_[application]/settings/index.svelte
rename to packages/builder/src/pages/[application]/settings/index.svelte
diff --git a/packages/builder/src/pages/_[application]/backend/_layout.svelte b/packages/builder/src/pages/_[application]/backend/_layout.svelte
deleted file mode 100644
index 58452ee636..0000000000
--- a/packages/builder/src/pages/_[application]/backend/_layout.svelte
+++ /dev/null
@@ -1,48 +0,0 @@
-
-
-
-
-
diff --git a/packages/builder/src/pages/_[application]/backend/actions/index.svelte b/packages/builder/src/pages/_[application]/backend/actions/index.svelte
deleted file mode 100644
index b527bb251a..0000000000
--- a/packages/builder/src/pages/_[application]/backend/actions/index.svelte
+++ /dev/null
@@ -1,134 +0,0 @@
-
-
-
-
-
diff --git a/packages/builder/src/pages/_[application]/backend/database/index.svelte b/packages/builder/src/pages/_[application]/backend/database/index.svelte
deleted file mode 100644
index 2724e8045a..0000000000
--- a/packages/builder/src/pages/_[application]/backend/database/index.svelte
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
- {#if recordOpen}
-
- {/if}
- {#if modelOpen}
-
- {/if}
- {#if viewOpen}
-
- {/if}
- {#if databaseOpen}
-
- {/if}
- {#if deleteRecordOpen}
-
- {/if}
- {#if userOpen}
-
- {/if}
-
-
-
-
-
-
{breadcrumbs}
- {#if $backendUiStore.selectedDatabase.id}
-
{
- selectedRecord = null
- backendUiStore.actions.modals.show('RECORD')
- }}>
- Create new record
-
- {/if}
-
- {#if $backendUiStore.selectedDatabase.id}
-
- {:else}Please select a database{/if}
-
-
-
-
diff --git a/packages/builder/src/pages/_[application]/frontend/_layout.svelte b/packages/builder/src/pages/_[application]/frontend/_layout.svelte
deleted file mode 100644
index 0385342cef..0000000000
--- a/packages/builder/src/pages/_[application]/frontend/_layout.svelte
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/packages/builder/src/pages/_[application]/settings/_layout.svelte b/packages/builder/src/pages/_[application]/settings/_layout.svelte
deleted file mode 100644
index 43a188a476..0000000000
--- a/packages/builder/src/pages/_[application]/settings/_layout.svelte
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
diff --git a/packages/builder/src/pages/index.svelte b/packages/builder/src/pages/index.svelte
index 004280071b..2b401321a2 100644
--- a/packages/builder/src/pages/index.svelte
+++ b/packages/builder/src/pages/index.svelte
@@ -1,10 +1,8 @@
-
{#await promise}
diff --git a/packages/server/middleware/routes/apps.js b/packages/server/middleware/routes/apps.js
index 96ab556217..8d6cdf2d5b 100644
--- a/packages/server/middleware/routes/apps.js
+++ b/packages/server/middleware/routes/apps.js
@@ -3,6 +3,7 @@ const StatusCodes = require("../../utilities/statusCodes")
const {
getPackageForBuilder,
getApps,
+ saveBackend
} = require("../../utilities/builder")
diff --git a/readme.md b/readme.md
index 159cd4a63c..86f2088521 100644
--- a/readme.md
+++ b/readme.md
@@ -67,7 +67,7 @@ cd packages/server
yarn run budi new your-app-name
```
-now build and publish the latest budibase libs, to your new app
+now build and publish the latest budibase libs, to your new app
```
cd ../..
@@ -75,17 +75,17 @@ cd ../..
yarn run publishdev
```
-then
+then
run the budibase server and builder in dev mode (i.e. with hot reloading):
1. Open a new console
2. `yarn dev` (from root)
-3. Access the builder on http://localhost:3000
+3. Access the builder on http://localhost:4001/_builder/
This will enable watch mode for both the client AND the server.
-### Running Commands from /server Directory
+### Running Commands from /server Directory
Notice that when inside `packages/server`, you can use any Budibase CLI command via yarn: