Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thomasballinger/testing-vercel-july-22
https://github.com/thomasballinger/testing-vercel-july-22
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thomasballinger/testing-vercel-july-22
- Owner: thomasballinger
- Created: 2022-07-22T17:11:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-22T17:18:07.000Z (over 2 years ago)
- Last Synced: 2024-10-10T19:11:13.618Z (29 days ago)
- Language: TypeScript
- Homepage: testing-vercel-july-22.vercel.app
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Convex
This example demonstrates the Convex global state management framework.
## Deploy your own
Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/convex&project-name=convex&repository-name=convex)
## How to use
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) to bootstrap the example:
```bash
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,
```bash
npx convex login
```initialize a new Convex project,
```bash
npx convex init
```and push the Convex functions for this project.
```bash
npx convex push
```Now you can run your code locally with a Convex backend with
```bash
npm run dev
```Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).