rsnext/examples/convex
Ian Macartney 85a0354930
update convex README.md (#65765)
Updates the readme to point to the new docs location, and bumps the
convex version
2024-05-16 23:52:41 +00:00
..
convex update convex README.md (#65765) 2024-05-16 23:52:41 +00:00
pages chore(examples): use default prettier for examples/templates (#60530) 2024-01-11 16:01:44 -07:00
public Add Convex example (#38129) 2022-06-30 10:26:46 +00:00
styles chore(examples): use default prettier for examples/templates (#60530) 2024-01-11 16:01:44 -07:00
.env Update Convex demo to 0.9.1 (#45866) 2023-02-13 19:41:44 +00:00
.gitignore Add .yarn/install-state.gz to .gitignore (#56637) 2023-10-18 16:34:48 +00:00
.prettierignore 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 README.md (#65765) 2024-05-16 23:52:41 +00:00
README.md examples: Update Convex Example (#59789) 2023-12-28 00:25:14 -06: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

While developing:

npm run dev

This command runs next dev and convex dev 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 --cmd 'npm run build' as the build command and set the CONVEX_DEPLOY_KEY environmental variable in Vercel (Documentation).