SHYNZ.dev

SHYNZ Academy · Technology Stack · Module 01

Learn → Build → Deploy

Understand the tools behind modern applications. Build your first small working project, then learn how to test it and publish a preview. Begin with zero wallets, zero live funds and zero blockchain transactions.

Wallet-free by defaultBeginner-friendlyPublic teaching methods

How the stack connects

Think of these as layers, not competing subscriptions. AI assists your work; GitHub stores reviewed source; Vercel builds previews; the Next.js application renders React/TypeScript/Tailwind; server-only code can connect to Neon. Web3 tools are an optional, later lane.

  1. 01 · Plan

    ChatGPT + Academy

    Understand, sketch, review

  2. 02 · Build

    Next.js + React + TypeScript + Tailwind

    Code pages and components

  3. 03 · Verify

    GitHub + Actions

    Commit, review and test

  4. 04 · Preview

    Vercel + optional Neon

    Host a preview; persist server-side

Optional blockchain lane: Solidity defines contracts → OpenZeppelin provides reusable contract libraries → Foundry tests locally → viem reads network data. A later, separately authorized module may use Base Sepolia (chain ID 84532). No signing or chain deployment happens here.

Interactive map

Explore the tools by stage

No wallet or sign-in needed

Explore concepts safely in the browser, without connecting a wallet.

ChatGPT

AI learning and coding assistant

Explain code, challenge assumptions and propose tests; you review every change.

Official documentation ↗

Solidity

EVM smart contract language

Learn to express verifiable on-chain rules before attempting any deployment.

Official documentation ↗

Foundry

Contract development and testing

Run local contract tests and simulations without using a public network.

Official documentation ↗

OpenZeppelin

Reviewed contract building blocks

Study maintained libraries instead of inventing critical contract logic.

Official documentation ↗

Practice · No points or tokens

Check your understanding

Three questions. Answers stay in this page only; this check does not alter existing Academy achievements.

1. Where should a Postgres DATABASE_URL live?
2. What is the safest first build for a new learner?
3. What does a passing CI check establish?

Answer all three questions to check your work.

Learn · Reuse Academy

Use what you already have

The six original Academy courses, quizzes, achievements and browser-local progress remain unchanged. These preparatory courses and Lab tools are available without purchasing assets.

Build · Hands-on workshop

Your first working app: Idea Board

Create a simple add-to-list application with React state, a TypeScript form and Tailwind styling. It runs entirely in your browser; refreshing resets its ideas. No database, credentials, wallet or payment is required for this first version.

  1. 1. Install Node.js LTS and scaffold a project. Open a terminal. Accept the default `src` directory choice only if you also place the example in `src/app/page.tsx`; otherwise use `app/page.tsx`. Choose App Router, TypeScript and Tailwind.
    Terminal
    npx create-next-app@latest my-first-shynz-app --ts --tailwind --eslint --app
    cd my-first-shynz-app
    npm run dev

    Open http://localhost:3000. Version differences are normal: this tutorial uses the current create-next-app template, while the shared SHYNZ portal currently uses Next.js 15 and Tailwind 3.

  2. 2. Replace your app page with this complete component. Put the code in app/page.tsx (or src/app/page.tsx if you chose src).
    app/page.tsx — copy-ready
    'use client';
    
    import { useState, type FormEvent } from 'react';
    
    export default function Home() {
      const [ideas, setIdeas] = useState<string[]>([]);
      const [draft, setDraft] = useState('');
    
      function addIdea(event: FormEvent<HTMLFormElement>) {
        event.preventDefault();
        const text = draft.trim();
        if (!text) return;
        setIdeas((current) => [...current, text]);
        setDraft('');
      }
    
      return (
        <main className="mx-auto max-w-xl p-8">
          <h1 className="text-3xl font-bold">My first idea board</h1>
          <p className="mt-2 text-sm">Browser-only demo. Refresh resets it.</p>
          <form onSubmit={addIdea} className="mt-6 flex gap-2">
            <label htmlFor="idea" className="sr-only">New idea</label>
            <input id="idea" className="min-w-0 flex-1 rounded border p-2 text-black"
              value={draft} onChange={(e) => setDraft(e.target.value)}
              placeholder="An idea to build" maxLength={120} />
            <button className="rounded bg-amber-400 px-4 py-2 font-bold text-black"
              type="submit">Add</button>
          </form>
          <ul className="mt-6 list-disc space-y-2 pl-6">
            {ideas.map((idea, index) => <li key={index}>{idea}</li>)}
          </ul>
          <p className="mt-4 text-sm">{ideas.length} ideas in this session</p>
        </main>
      );
    }
  3. 3. Test the behavior. Add two ideas. Confirm both appear and the count becomes two; empty input does nothing. Refresh to confirm data is intentionally temporary. Run npm run build to check compilation.
  4. 4. Review with AI, not blind trust. Ask ChatGPT to explain `useState`, propose an accessible delete button and list three edge cases. Review its output and run the build again before committing. Do not paste secrets, private records or production datasets into an AI prompt.

Deploy · Optional database extension

Connect a development-only Neon database

This optional exercise verifies server-to-Postgres connectivity. It does not persist the Idea Board or implement authentication. Keep this a separate practice database with no real customer data.

  1. Create a separate project and development database at Neon. Copy the connection string privately.
  2. Install the serverless SQL client: npm install @neondatabase/serverless.
  3. Add DATABASE_URL=... to .env.local on your machine. Ensure that file is ignored by Git. Never prefix the credential with NEXT_PUBLIC_.
  4. Add the server route below. Restart the dev server and open http://localhost:3000/api/db-health; expected result is {"ok":true}.
app/api/db-health/route.ts
// app/api/db-health/route.ts — optional server-only exercise
import { neon } from '@neondatabase/serverless';
import { NextResponse } from 'next/server';

export async function GET() {
  if (!process.env.DATABASE_URL) {
    return NextResponse.json({ ok: false }, { status: 503 });
  }
  try {
    const sql = neon(process.env.DATABASE_URL);
    await sql`SELECT 1`;
    return NextResponse.json({ ok: true });
  } catch {
    return NextResponse.json({ ok: false }, { status: 503 });
  }
}

Security boundary: this GET route returns only a boolean, never a connection string or database records. Before adding user-written records, build server-side authentication, authorization, input validation, rate limits and data-isolation tests. A public preview is not a safe place for sensitive records.

Deploy · Preview, then review

Publish safely with GitHub and Vercel

  1. Create a new repository on GitHub. Initialize Git locally, commit the app and push to a feature branch. Check git status to ensure .env.local is not tracked.
  2. Open a pull request and configure GitHub Actions to install dependencies and run npm run build. Tests passing describe only the checks actually run.
  3. Import the repository in Vercel. For the optional Neon exercise, set DATABASE_URL privately in the intended Vercel preview environment. Use a dedicated preview database, not production credentials.
  4. Inspect the unique preview URL. Add ideas, test mobile keyboard behavior and verify the optional health endpoint returns only ok. Review logs without exposing credentials.
  5. For a real product, approve a separate production release only after security and service requirements are met. A preview does not imply production authorization.

Next lab: use a local Foundry test to explore contract logic, then later consider an explicitly authorized, test-token-only Base Sepolia exercise. A wallet is never required to take this module.

Cost literacy · Checked 31 October 2026

Start affordably, budget for actual usage

A personal, non-commercial starter can use free tiers; a business launch may require paid services. Prices below are public starting points, not a complete quote. Hosting, compute, bandwidth, storage, team seats, databases, API use, taxes and third-party services can change the bill.

ProviderPublic entry pointVerify
ChatGPTFree tier; Plus $20/month optionalOfficial pricing ↗
GitHubFree $0; Team $4/user/monthOfficial pricing ↗
VercelHobby $0 for personal, non-commercial use; Pro starts at $20/monthOfficial pricing ↗
NeonFree tier available; paid usage-based plansOfficial pricing ↗

Neon announced 1 GB per Free project and up to 100 Free projects on October 2, 2026, subject to provider limits. ChatGPT Plus does not include separately billed OpenAI API usage. Confirm your plan and commercial-use terms before deployment.

SHYNZ Academy teaches reproducible public methods; it does not reveal internal research, live infrastructure topology, credentials or private business systems. Never input wallet recovery phrases or funds into exercises. Back to Academy →