GithubHelp home page GithubHelp logo

mingderwang / selfid-next-notes-typescript Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 27 KB

template in https://github.com/ceramicstudio/self.id.git

License: MIT License

JavaScript 13.51% TypeScript 86.49%

selfid-next-notes-typescript's Introduction

Notes application Next.js template for Self.ID with TypeScript

Using the Self.ID Framework with Next.js and TypeScript.

Getting Started

1. Copy this template

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.

2. Install dependencies

In your application folder:

npm install
# or
yarn install

3. Publish the data model

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 publish-model
# or
yarn run publish-model

4. Start the development server

npm run dev
# or
yarn run dev

Scripts

Use npm run or yarn run with one of the following scripts:

dev

Compile and run a development server.

build

Compile for production.

lint

Lint the source code.

start

Run a local server for production build.

publish-model

Run the publish-model script.

create-model

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

Learn more about data models, the Self.ID SDK and framework in the Ceramic documentation.

License

Dual licensed under MIT and Apache 2.

selfid-next-notes-typescript's People

Contributors

mingder78 avatar

Watchers

 avatar  avatar  avatar

Forkers

ms-hack

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.