Skip to content

Commit b1da4d6

Browse files
committed
sql.datapage.app -> sql-page.com
1 parent 09f405f commit b1da4d6

File tree

43 files changed

+211
-211
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+211
-211
lines changed

CHANGELOG.md

Lines changed: 104 additions & 104 deletions
Large diffs are not rendered by default.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55
description = "Build data user interfaces entirely in SQL. A web server that takes .sql files and formats the query result using pre-made configurable professional-looking components."
66
keywords = ["web", "sql", "framework"]
77
license = "MIT"
8-
homepage = "https://sql.datapage.app/"
8+
homepage = "https://sql-page.com/"
99
repository = "https://github.com/lovasoa/SQLpage"
1010
documentation = "https://docs.rs/sqlpage"
1111
include = ["/src", "/README.md", "/build.rs", "/sqlpage", "/index.sql", "/.sqlpage_artefacts"]

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SQLpage
44

55
[![A short video explaining the concept of sqlpage](./docs/sqlpage.gif)](./docs/sqlpage.mp4)
66

7-
[SQLpage](https://sql.datapage.app) is an **SQL**-only webapp builder.
7+
[SQLpage](https://sql-page.com) is an **SQL**-only webapp builder.
88
It is meant for data scientists, analysts, and business intelligence teams
99
to build powerful data-centric applications quickly,
1010
without worrying about any of the traditional web programming languages and concepts.
@@ -132,7 +132,7 @@ select
132132

133133
## Get started
134134

135-
[Read the official *get started* guide on SQLPage's website](https://sql.datapage.app/get_started.sql).
135+
[Read the official *get started* guide on SQLPage's website](https://sql-page.com/get_started.sql).
136136

137137
### Using executables
138138

@@ -198,7 +198,7 @@ to the user's browser.
198198
- [Tiny splitwise clone](./examples/splitwise): a shared expense tracker app
199199
- [Corporate Conundrum](./examples/corporate-conundrum/): a board game implemented in SQL
200200
- [Master-Detail Forms](./examples/master-detail-forms/): shows how to implement a simple set of forms to insert data into database tables that have a one-to-many relationship.
201-
- [SQLPage's own official website and documentation](./examples/official-site/): The SQL source code for the project's official site, https://sql.datapage.app
201+
- [SQLPage's own official website and documentation](./examples/official-site/): The SQL source code for the project's official site, https://sql-page.com
202202
- [Image gallery](./examples/image%20gallery%20with%20user%20uploads/): An image gallery where users can log in and upload images. Illustrates the implementation of a user authentication system using session cookies, and the handling of file uploads.
203203
- [User Management](./examples/user-authentication/): An authentication demo with user registration, log in, log out, and confidential pages. Uses PostgreSQL.
204204
- [Making a JSON API and integrating React components in the frontend](./examples/using%20react%20and%20other%20custom%20scripts%20and%20styles/): Shows how to integrate a react component in a SQLPage website, and how to easily build a REST API with SQLPage.
@@ -299,7 +299,7 @@ FrontPage was a visual static website builder popular in the late '90s. I hadn't
299299
> **I like CSS. I want to design websites, not write SQL.**
300300
301301
If you want to write your own HTML and CSS,
302-
you can [create custom components](https://sql.datapage.app/custom_components.sql)
302+
you can [create custom components](https://sql-page.com/custom_components.sql)
303303
by adding a [`.handlebars`](https://handlebarsjs.com/guide/) file in `sqlpage/templates` and writing your HTML and CSS there. ([Example](./sqlpage/templates/alert.handlebars)).
304304
You can also use the `html` component to write raw HTML, or the `shell` component to include custom scripts and styles.
305305

configuration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Here are the available configuration options and their default values:
2121
| `sqlite_extensions` | | An array of SQLite extensions to load, such as `mod_spatialite` |
2222
| `web_root` | `.` | The root directory of the web server, where the `index.sql` file is located. |
2323
| `site_prefix` | `/` | Base path of the site. If you want to host SQLPage at `https://example.com/sqlpage/`, set this to `/sqlpage/`. When using a reverse proxy, this allows hosting SQLPage together with other applications on the same subdomain. |
24-
| `configuration_directory` | `./sqlpage/` | The directory where the `sqlpage.json` file is located. This is used to find the path to [`templates/`](https://sql.datapage.app/custom_components.sql), [`migrations/`](https://sql.datapage.app/your-first-sql-website/migrations.sql), and `on_connect.sql`. Obviously, this configuration parameter can be set only through environment variables, not through the `sqlpage.json` file itself in order to find the `sqlpage.json` file. Be careful not to use a path that is accessible from the public WEB_ROOT |
24+
| `configuration_directory` | `./sqlpage/` | The directory where the `sqlpage.json` file is located. This is used to find the path to [`templates/`](https://sql-page.com/custom_components.sql), [`migrations/`](https://sql-page.com/your-first-sql-website/migrations.sql), and `on_connect.sql`. Obviously, this configuration parameter can be set only through environment variables, not through the `sqlpage.json` file itself in order to find the `sqlpage.json` file. Be careful not to use a path that is accessible from the public WEB_ROOT |
2525
| `allow_exec` | false | Allow usage of the `sqlpage.exec` function. Do this only if all users with write access to sqlpage query files and to the optional `sqlpage_files` table on the database are trusted. |
2626
| `max_uploaded_file_size` | 5242880 | Maximum size of forms and uploaded files in bytes. Defaults to 5 MiB. |
2727
| `max_pending_rows` | 256 | Maximum number of rendered rows that can be queued up in memory when a client is slow to receive them. |
@@ -104,7 +104,7 @@ For instance, if you want to create a custom `my_component` component, that disp
104104
</ul>
105105
```
106106

107-
[See the full custom component documentation](https://sql.datapage.app/custom_components.sql).
107+
[See the full custom component documentation](https://sql-page.com/custom_components.sql).
108108

109109
## Connection initialization scripts
110110

@@ -138,10 +138,10 @@ CREATE TEMPORARY TABLE my_temporary_table(
138138
## Migrations
139139

140140
SQLPage allows you to run SQL scripts when the database schema changes, by creating a `sqlpage/migrations` directory.
141-
We have a guide on [how to create migrations](https://sql.datapage.app/your-first-sql-website/migrations.sql).
141+
We have a guide on [how to create migrations](https://sql-page.com/your-first-sql-website/migrations.sql).
142142

143143
## Custom URL routes
144144

145145
By default, SQLPage encourages a simple mapping between the URL and the SQL file that is executed.
146-
You can also create custom URL routes by creating [`404.sql` files](https://sql.datapage.app/your-first-sql-website/custom_urls.sql).
147-
If you need advanced routing, you can also [add a reverse proxy in front of SQLPage](https://sql.datapage.app/your-first-sql-website/nginx.sql).
146+
You can also create custom URL routes by creating [`404.sql` files](https://sql-page.com/your-first-sql-website/custom_urls.sql).
147+
If you need advanced routing, you can also [add a reverse proxy in front of SQLPage](https://sql-page.com/your-first-sql-website/nginx.sql).

docs/introducing-sqlpage-to-the-postgres-community.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
SQLPage is an open-source tool that empowers database people to quickly build beautiful dynamic web applications *entirely in SQL*.
44

5-
Designed to seamlessly integrate with PostgreSQL, SQLPage enables data practitioners to leverage their SQL skills to create robust, data-centric web apps without the need for traditional web programming languages, thanks to its [rich library of built-in web components](https://sql.datapage.app/documentation.sql) that can be invoked directly from basic SQL queries.
5+
Designed to seamlessly integrate with PostgreSQL, SQLPage enables data practitioners to leverage their SQL skills to create robust, data-centric web apps without the need for traditional web programming languages, thanks to its [rich library of built-in web components](https://sql-page.com/documentation.sql) that can be invoked directly from basic SQL queries.
66

77
It lets you create complex dynamic webapps for data analysis, visualization, data ingestion, internal tooling, administration panels, prototyping, and more just by writing simple standard `.sql` files.
88

@@ -29,7 +29,7 @@ SQLPage opens the world of easy web application development to database speciali
2929

3030
## Example
3131

32-
Here are the exact two SQL queries that builds the list of components of the documentation page on [SQLPage's official website](https://sql.datapage.app)
32+
Here are the exact two SQL queries that builds the list of components of the documentation page on [SQLPage's official website](https://sql-page.com)
3333

3434
```
3535
SELECT 'list' AS component, 'components' AS title;
@@ -48,7 +48,7 @@ order by name;
4848

4949
## Get Started
5050

51-
To explore the possibilities and limitations of SQLPage, visit [the official website](https://sql.datapage.app) and read the [SQL website building tutorial](https://sql.datapage.app/get%20started.sql). Join the [SQLPage community](https://github.com/lovasoa/SQLpage/discussions) to discuss your PostgreSQL-powered web applications.
51+
To explore the possibilities and limitations of SQLPage, visit [the official website](https://sql-page.com) and read the [SQL website building tutorial](https://sql-page.com/get%20started.sql). Join the [SQLPage community](https://github.com/lovasoa/SQLpage/discussions) to discuss your PostgreSQL-powered web applications.
5252

5353
## Contributing
5454

docs/sqlpage for sqlite.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ I'm not sure whether announcements like this are allowed here; feel free to dele
66

77
I wanted to introduce a cool piece of open source software I have been working on for a long time, and that is now ready for more general use.
88

9-
It's called [SQLPage](https://sql.datapage.app), and it lets you build a full web application on top of your SQLite database using nothing more than standard SQL queries.
9+
It's called [SQLPage](https://sql-page.com), and it lets you build a full web application on top of your SQLite database using nothing more than standard SQL queries.
1010

11-
# SQLPage: [build a website in SQL](https://sql.datapage.app)
11+
# SQLPage: [build a website in SQL](https://sql-page.com)
1212

1313
[![code-screenshots](https://github.com/lovasoa/SQLpage/assets/552629/03ed65bc-ecb1-4c01-990e-d6ab97be39c0)](https://github.com/lovasoa/SQLPage)
1414

@@ -40,6 +40,6 @@ Some cool things people are building with SQLPage:
4040

4141
## Open-Source
4242

43-
- [Official project page](https://sql.datapage.app)
43+
- [Official project page](https://sql-page.com)
4444
- [Source Code on Github](https://github.com/lovasoa/SQLPage)
4545
- [Examples](https://github.com/lovasoa/SQLpage/tree/main/examples)

examples/CRUD - Authentication/sqlpage/templates/shell.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
{{{markdown footer}}}
196196
{{else}}
197197
<!-- You can change this footer using the 'footer' parameter of the 'shell' component -->
198-
Built with <a class="text-reset" href="https://sql.datapage.app" title="SQLPage v{{buildinfo 'CARGO_PKG_VERSION'}}">SQLPage</a>
198+
Built with <a class="text-reset" href="https://sql-page.com" title="SQLPage v{{buildinfo 'CARGO_PKG_VERSION'}}">SQLPage</a>
199199
{{/if}}
200200
</footer>
201201
</body>

examples/CRUD - Authentication/www/menu_test/dummy.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ select
1919
'https://cdn.jsdelivr.net/npm/prismjs@1/components/prism-core.min.js' as javascript,
2020
'https://cdn.jsdelivr.net/npm/prismjs@1/plugins/autoloader/prism-autoloader.min.js' as javascript,
2121
'/prism-tabler-theme.css' as css,
22-
'Official [SQLPage](https://sql.datapage.app) documentation' as footer;
22+
'Official [SQLPage](https://sql-page.com) documentation' as footer;

examples/charts, computations and custom components/index.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SELECT 'shell' AS component,
55
'A tool to measure a tempo in bpm by clicking a button in rythm.' as description,
66
'Vollkorn' as font,
77
'music' as icon,
8-
'Proudly powered by [SQLPage](https://sql.datapage.app)' as footer;
8+
'Proudly powered by [SQLPage](https://sql-page.com)' as footer;
99

1010
SELECT 'hero' as component,
1111
'Tap Tempo' as title,
@@ -19,7 +19,7 @@ SELECT 'text' as component,
1919
'
2020
## Context
2121
22-
This tool is written in the SQL database query language, and uses the [SQLPage](https://sql.datapage.app) framework to generate the web interface.
22+
This tool is written in the SQL database query language, and uses the [SQLPage](https://sql-page.com) framework to generate the web interface.
2323
2424
It serves as a demo for the framework.
2525

examples/custom form component/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The only MySQL-specific features used here are:
77
- `json_table`, which is supported by MariaDB and MySQL 8.0 and later,
88
- MySQL's `json_merge` function.
99

10-
Both [have analogs in other databases](https://sql.datapage.app/blog.sql?post=JSON%20in%20SQL%3A%20A%20Comprehensive%20Guide).
10+
Both [have analogs in other databases](https://sql-page.com/blog.sql?post=JSON%20in%20SQL%3A%20A%20Comprehensive%20Guide).
1111

1212
![screenshot](screenshot.png)
1313

0 commit comments

Comments
 (0)