Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

paradox8599/nextks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.js + Keystone Web App

TODO

  • to fix: cookies syncing for nextjs and keystone admin ui: Error: Bad hmac value

Getting Started

Prerequisites

  • NodeJS: ^20.17.0
  • Bun

Installation

  • bun install
  • bun run init

Development

Migration

Deploy

  • Deploy on fly.io
    • Create fly app: fly app create <app name>
    • Set env: fly secrets set DATABASE_URL=<DATABASE_URL> and other secrets as well if needed
    • set build args in fly.toml
    • run fly deploy
  • Github Actions
    • secrets: FLY_API_TOKEN, DATABASE_URL
  • Build with docker: docker build -t nextks .

Pages & APIs

Frontend

Data & API

GraphQL Client

Server Context

Notes

  • @prisma/client needs to stay at 5.19.0 for keystone to run

Docs

Other Readings

About

Integration of Next.js and Keystone.js

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors