Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions examples/react/start-convex-trellaux/.env.local.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This is a shared default backend you can't modify the code for.
# In order to create your own backend, run `npx convex dev`.
VITE_CONVEX_URL=https://laudable-anaconda-558.convex.cloud
3 changes: 3 additions & 0 deletions examples/react/start-convex-trellaux/.stackblitzrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"startCommand": "cp .env.local.example .env.local && npx vinxi dev",
}
2 changes: 0 additions & 2 deletions examples/react/start-convex-trellaux/app/routeTree.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ import { Route as BoardsBoardIdImport } from './routes/boards.$boardId'
// Create/Update Routes

const IndexRoute = IndexImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRoute,
} as any)

const BoardsBoardIdRoute = BoardsBoardIdImport.update({
id: '/boards/$boardId',
path: '/boards/$boardId',
getParentRoute: () => rootRoute,
} as any)
Expand Down
8 changes: 8 additions & 0 deletions examples/react/start-convex-trellaux/convex/crons.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { cronJobs } from 'convex/server'
import { internal } from './_generated/api'

const crons = cronJobs()

crons.cron('clear messages table', '0,20,40 * * * *', internal.board.clear)

export default crons