Skip to content

Latest commit

Β 

History

History
executable file
Β·
115 lines (91 loc) Β· 2.15 KB

File metadata and controls

executable file
Β·
115 lines (91 loc) Β· 2.15 KB

ABCD KBD

A Interactive game for kids ; building in Astro

main codebase for abcdkbd.com

The tech Stacks

  • Astro js
  • Shadcn for component
  • tailwind for styling
  • Zustand for state management
  • TypeScript for type safety
  • Zod for form type safe form validation

How To Start

pre-requisite

  • Node v 18 or higher
  • open vscode and open startup.vscode-workspace file

πŸš€ Project Structure

Inside of your Astro project, you'll see the following folders and files:

.
β”œβ”€β”€ astro.config.mjs
β”œβ”€β”€ astro-i18next.config.mjs
β”œβ”€β”€ CHANGELOG.MD
β”œβ”€β”€ components.json
β”œβ”€β”€ docs
β”‚Β Β  β”œβ”€β”€ README.md
β”‚Β Β  └── pages.md        # Documentation for all pages and their functionality
β”œβ”€β”€ jsconfig.json
β”œβ”€β”€ LICENSE
β”œβ”€β”€ package.json
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ postcss.config.js
β”œβ”€β”€ public
β”‚Β Β  β”œβ”€β”€ 192x192.png
β”‚Β Β  β”œβ”€β”€ 512x512.png
β”‚Β Β  β”œβ”€β”€ android-chrome-192x192.png
β”‚Β Β  β”œβ”€β”€ android-chrome-512x512.png
β”‚Β Β  β”œβ”€β”€ apple-touch-icon.png
β”‚Β Β  β”œβ”€β”€ favicon.svg
β”‚Β Β  β”œβ”€β”€ logo-white.svg
β”‚Β Β  β”œβ”€β”€ manifest.webmanifest
β”‚Β Β  β”œβ”€β”€ profile-placeholder.jpg
β”‚Β Β  β”œβ”€β”€ robots.txt
β”‚Β Β  β”œβ”€β”€ sitemap-index.html
β”œβ”€β”€ README.md
β”œβ”€β”€ src
β”‚Β Β  β”œβ”€β”€ assets
β”‚Β Β  β”œβ”€β”€ components
β”‚Β Β  β”œβ”€β”€ content
β”‚Β Β  β”œβ”€β”€ env.d.ts
β”‚Β Β  β”œβ”€β”€ hooks
β”‚Β Β  β”œβ”€β”€ icons
β”‚Β Β  β”œβ”€β”€ layouts
β”‚Β Β  β”œβ”€β”€ libs
β”‚Β Β  β”œβ”€β”€ locales
β”‚Β Β  β”œβ”€β”€ mocks
β”‚Β Β  β”œβ”€β”€ models
β”‚Β Β  β”œβ”€β”€ pages
β”‚Β Β  β”œβ”€β”€ postcss.config.cjs
β”‚Β Β  β”œβ”€β”€ site.config.ts
β”‚Β Β  β”œβ”€β”€ types.ts
β”‚Β Β  └── utils
β”œβ”€β”€ tailwind.config.ts
β”œβ”€β”€ todo.md
β”œβ”€β”€ tsconfig.eslint.json
β”œβ”€β”€ tsconfig.json
└── <project>.code-workspace

and src

Installation

npm install

Development

To start the development server, run:

npm run dev

test and lint

run

npm run lint

Deployment

run in local

npm run lint
npm run build

and then check with

npm run preview