This is an Internet Computer and Next.js project with a simple authentication feature.
- dfx 0.14.0
- node ^16
- npm ^8
clone this repository and chenge directory to cloned directory.
git clone https://github.com/junkei-okinawa/ii_auth_with_nextjs.git
cd ii_auth_with_nextjs
First, run the development server for dfx:
dfx start --background
# Running dfx start for version 0.14.0
# Using project-specific network 'local' defined in /Users/# junkei/Documents/learning-rust/websocket_front/dfx.json
# WARN: Project-specific networks are deprecated and will be removed after February 2023.
# Dashboard: http://localhost:59369/_/dashboard
deploy app.
./dfx_deploy.sh
# ...
# Deployed canisters.
# URLs:
# Frontend canister via browser
# MyApp: http://127.0.0.1:8000/?canisterId=bkyz2-fmaaa-aaaaa-qaaaq-cai
Stop the development server.
dfx stop