Upstash266 words
Redis database, which can be used as a key-value store of up to 1mb with a free account. Create an Upstash account. Go to https://console.upstash.com/login. Create a database. Click Create
Sections
Upstash
plain text. Open in ChatGPT Ask questions about this page. Upstash provides a serverless Redis database, which can be used as a key-value store of up to 1mb with a
Create a database
Create a database. Click Create database. Name: whatever you want. Type: Regional. Region: Iowa (us-central1), because it’s closest to Val Town’s servers. Enable TLS for security.
Set some data
Set some data. If you set it up correctly, you should be able to Run this Val and have it return the same results from your own Upstash database. Saving
PlanetScale312 words
Sign up to PlanetScale. Go to https://auth.planetscale.com/sign-up. 2. Create a new database. Select New database on the dashboard. Create a database. 3. Create a password. Go to Settings → Passwords
Sections
PlanetScale
text. Open in ChatGPT Ask questions about this page. PlanetScale once provided a hosted MySQL database with 5GB of storage included in the free tier. On April 8, 2024, the
2. Create a new database
2. Create a new database. Select New database on the dashboard. Create a database.
7. Do more than queries!
7. Do more than queries! Read the source of the @vtdocs/queryPlanetScale helper, see how it uses the @planetscale/database SDK, refer to the driver’s documentation, and extend it!
SQLite160 words
Ask questions about this page. SQLite is a lightweight, standard database. Every Val Town account comes with its own private SQLite database that is accessible from any of your vals
Sections
SQLite
Ask questions about this page. SQLite is a lightweight, standard database. Every Val Town account comes with its own private SQLite database that is accessible from any of your vals
SQLite Admin Panels
SQLite Admin Panels. We recommend these admin data viewers for managing your database – viewing or editing data or your database table schema: Outerbase Studio (recommended) - formerly LibSQL Studio
Supabase561 words
of your database password, you’ll need this to create a database connection string. 3. Get your database’s connection string. Go to your project’s Settings via the sidebar. Inside Database, scroll
Sections
Supabase
plain text. Open in ChatGPT Ask questions about this page. Supabase provide a hosted Postgres database with 500MB of storage in the free tier. You can query and create data
2. Create a project
2. Create a project. On Supabase’s dashboard, create a new project. Keep a note of your database password, you’ll need this to create a database connection string.
3. Get your database’s connection string
Get your database’s connection string. Go to your project’s Settings via the sidebar. Inside Database, scroll down and copy the Connection string for Nodejs. Replace [YOUR-PASSWORD] (removing the square brackets)
7. More resources
7. More resources. Learn more about the Deno Postgres client used in this guide, view the Supabase Database documentation, or get help on Val Town’s Discord.
Neon Postgres280 words
this page. Neon provides a PostgreSQL database with an API accessible over HTTP and a JavaScript SDK. This lets you use a more conventional relational database model in your vals.
Sections
Neon Postgres
this page. Neon provides a PostgreSQL database with an API accessible over HTTP and a JavaScript SDK. This lets you use a more conventional relational database model in your vals.
Setup
out the fields: Name: Any. Postgres version: If you need to use the database with other software, 14 provides better compatibility. Else, use the default of 15. Region: Choose any
Overview104 words
API allows you to programmatically manage your account and its resources: vals, blob storage, sqlite databases, likes, comments, and more. Tip Val Town’s REST API should not be confused with
Sections
Overview
API allows you to programmatically manage your account and its resources: vals, blob storage, sqlite databases, likes, comments, and more. Tip Val Town’s REST API should not be confused with
ORMs197 words
relies on functionality that only exists in a classic server environment. Sequelize. 🚫 Sequelize isn’t supported in Val Town because it relies on specific database drivers and is not extensible.
Sections
Sequelize
Sequelize. 🚫 Sequelize isn’t supported in Val Town because it relies on specific database drivers and is not extensible.
Authentication276 words
val – vals. user – user account details. blob – blob storage. sqlite – sqlite database. email – ability to send emails. You can confiure the scopes on the API
Sections
Scopes
Scopes. Val Town API tokens are scoped to read/write scopes for: val – vals. user – user account details. blob – blob storage. sqlite – sqlite database. email – ability
Stripe714 words
listens for successful payment events from Stripe. You can use this webhook to update your database to authorize the user to view premium content or send a confirmation email to
Sections
Stripe
listens for successful payment events from Stripe. You can use this webhook to update your database to authorize the user to view premium content or send a confirmation email to
2. Handle Fulfillment
the product to them. If you are selling a subscription, this might mean updating your database to authorize the user to view premium content. You can listen for events from
Saving data from a web page513 words
store for storing files, JSON, images, large blobs of data, while SQLite is a SQL database with ACID transactions, indexes, and more. You can also use external services like Firebase,
Sections
Saving data from a web page
store for storing files, JSON, images, large blobs of data, while SQLite is a SQL database with ACID transactions, indexes, and more. You can also use external services like Firebase,