GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - joelrb/ic-rust-nextjs: A starter template for building decentralized applications on the Internet Computer using Next.js and Rust. Features a Rust backend for canister logic and a Next.js frontend for user interaction. Comes with comprehensive documentation for easy setup and deployment.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

47 Commits
47 Commits

Folders and files

NameName
Last commit message
Last commit date
backend/hello
backend/hello
 
 
deps
deps
 
 
public
public
 
 
src
src
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.nvmrc
.nvmrc
 
 
.prettierrc.json
.prettierrc.json
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
dfx.json
dfx.json
 
 
next-env.d.ts
next-env.d.ts
 
 
next.config.js
next.config.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
predeploy.sh
predeploy.sh
 
 
tsconfig.json
tsconfig.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

InternetComputer - Rust + Next.js Template

This is a template for creating a Next.js app with a Rust backend that can be deployed to the Internet Computer.

Alt text

Getting Started

  1. Install the DFINITY Canister SDK
  2. Install Node.js
  3. Install Rust

Running Locally

Installing dependencies:

  1. Run yarn install or npm install it will run the following commands:

    Install Node.js dependencies:

  • Run yarn install or npm install

    For extract candid definition from canister WASM:

  • Run yarn candid:install or npm run candid:install

    For transforming Wasm canisters running on the Internet Computer:

  • Run yarn ic-wasm:install or npm run ic-wasm:install

Running Local Internet Computer:

  1. Run yarn dfx:start or npm run dfx:start

Deploying to the Local Internet Computer:

  1. Run yarn deploy or npm run deploy

Running Next.js app:

  1. Run yarn dev or npm run dev
  2. Open http://localhost:3000 in your browser

Deploying to the Internet Computer

  1. Run yarn deploy --network=ic to deploy the canisters to the Internet Computer

Notes

  • The Rust code is located in the backend directory
  • The Next.js code is located in the src directory
  • The canister configuration is located in the dfx.json file

Other Branches

  • Motoko + Next.js Template: motoko

motoko

  • Todo Motoko + Next.js Template: motoko_todo

motoko_todo

  • RadixUI + Rust + Next.js Template: radix-ui

radix-ui

  • Stable Memory + Rust + Next.js Template: stable_memory

stable_memory

Resources

  • DFINITY Canister SDK
  • Rust
  • Next.js
  • ic-wasm
  • candid-extractor
  • radix-ui
  • @ic-reactor

About

A starter template for building decentralized applications on the Internet Computer using Next.js and Rust. Features a Rust backend for canister logic and a Next.js frontend for user interaction. Comes with comprehensive documentation for easy setup and deployment.

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.