Using the Self.ID Framework with Next.js and TypeScript.
npx degit ceramicstudio/self.id/templates/next-notes-typescript my-selfid-app
Replace my-selfid-app
by the folder name you want and access it once installed.
In your application folder:
npm install
# or
yarn install
This application uses a custom data model created by the create-model
script. This model needs to be published to the Ceramic node before running the app.
npm run deploy-model
# or
yarn run deploy-model
npm run dev
# or
yarn run dev
Use npm run
or yarn run
with one of the following scripts:
Compile and run a development server.
Compile for production.
Lint the source code.
Run a local server for production build.
Run the publish-model
script.
Run the create-model
script.
This is only needed to make changes to the model used by the app.
A hex-encoded 32-byte SEED
environment variable must be present to create a key DID for the model when running the script.
Learn more about data models, the Self.ID SDK and framework in the Ceramic documentation.