rsnext/examples/convex
JTaylor0196 f7baa56792
update example Deploy button URLs (#48842)
### What?
Updates Deploy button URLs for all listed examples here:
https://github.com/vercel/next.js/tree/canary/examples

### Why?
The Deploy URLs are currently broken and result in a failed clone
attempt on Vercel.

### How?
The URLs have been changed from https://vercel.com/new/git/external?… to
-> https://vercel.com/new/clone?…
(Last updated
[here](8eaabe2fb0)
in 2021)
2023-04-26 13:31:44 -04:00
..
convex Update Convex example to convex@0.12.0 (#47175) 2023-03-28 00:32:20 +00:00
pages Update Convex example to convex@0.12.0 (#47175) 2023-03-28 00:32:20 +00:00
public Add Convex example (#38129) 2022-06-30 10:26:46 +00:00
styles chore(examples): Update convex example (#43741) 2022-12-07 14:12:36 +01:00
.env Update Convex demo to 0.9.1 (#45866) 2023-02-13 19:41:44 +00:00
.gitignore Remove incorrect entries for pnpm debug log (#47241) 2023-03-26 22:26:05 -07:00
.prettierignore Update Convex Example (#39562) 2022-08-16 01:21:53 +01:00
.prettierrc.json Update Convex Example (#39562) 2022-08-16 01:21:53 +01:00
next-env.d.ts Remove incorrect entries for pnpm debug log (#47241) 2023-03-26 22:26:05 -07:00
package.json Update Convex example to convex@0.12.0 (#47175) 2023-03-28 00:32:20 +00:00
README.md update example Deploy button URLs (#48842) 2023-04-26 13:31:44 -04:00
tsconfig.json Add Convex example (#38129) 2022-06-30 10:26:46 +00:00

Convex

This example demonstrates the Convex backend platform.

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

npx create-next-app --example convex convex-app
# or
yarn create next-app --example convex convex-app
# or
pnpm create next-app --example convex convex-app

Run

npm run dev

to run next dev and a Convex file watcher at the same time. This command will log you into Convex, so you'll need to create a Convex account if this is your first project.

Once everything is working, commit your code and deploy it to the cloud with Vercel (Documentation).

Use npx convex deploy && npm run build as the build command and set the CONVEX_DEPLOY_KEY environmental variable in Vercel (Documentation).