rsnext/examples/convex
Thomas Ballinger 5891dae6f7
Remove semi in Convex example (#40052)
Remove semicolon from Convex example.

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The examples guidelines are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-08-29 10:42:00 -05:00
..
convex Tweak Convex example (#39739) 2022-08-19 18:13:33 +01:00
pages Remove semi in Convex example (#40052) 2022-08-29 10:42:00 -05:00
public Add Convex example (#38129) 2022-06-30 10:26:46 +00:00
styles Update Convex Example (#39562) 2022-08-16 01:21:53 +01:00
.gitignore Update default gitignore templates (#39051) 2022-07-26 20:08:40 -05: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 Add Convex example (#38129) 2022-06-30 10:26:46 +00:00
package.json Tweak Convex example (#39739) 2022-08-19 18:13:33 +01:00
README.md Update Convex example. (#38850) 2022-07-20 18:55:45 -05:00
tsconfig.json Add Convex example (#38129) 2022-06-30 10:26:46 +00:00

Convex

This example demonstrates the Convex global state management framework.

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 with-convex with-convex-app
# or
yarn create next-app --example with-convex with-convex-app
# or
pnpm create next-app --example with-convex with-convex-app

Log in to Convex,

npx convex login

initialize a new Convex project,

npx convex init

and push the Convex functions for this project.

npx convex push

Now you can run your code locally with a Convex backend with

npm run dev

Deploy it to the cloud with Vercel (Documentation).