Skip to content

Latest commit

Β 

History

History
executable file
Β·
125 lines (100 loc) Β· 2.25 KB

File metadata and controls

executable file
Β·
125 lines (100 loc) Β· 2.25 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:

.
β”œβ”€β”€ abcd.code-workspace
β”œβ”€β”€ astro.config.mjs
β”œβ”€β”€ astro-i18next.config.mjs
β”œβ”€β”€ CHANGELOG.md
β”œβ”€β”€ CNAME
β”œβ”€β”€ docs
β”‚Β Β  β”œβ”€β”€ index.html
β”‚Β Β  └── README.md
β”œβ”€β”€ guide
β”‚Β Β  β”œβ”€β”€ pages.md
β”‚Β Β  β”œβ”€β”€ style-guide.md
β”‚Β Β  └── todo.md
β”œβ”€β”€ jsconfig.json
β”œβ”€β”€ LICENSE
β”œβ”€β”€ package.json
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ public
β”‚Β Β  β”œβ”€β”€ assets
β”‚Β Β    β”œβ”€β”€ 512x512.png
β”‚Β Β    β”œβ”€β”€ apple-touch-icon.png
β”‚Β Β    β”œβ”€β”€ favicon.ico
β”‚Β Β    β”œβ”€β”€ favicon.svg
β”‚Β Β    β”œβ”€β”€ fonts
β”‚Β Β    β”œβ”€β”€ icons
β”‚Β Β    β”œβ”€β”€ images
β”‚Β Β    β”œβ”€β”€ json
β”‚Β Β    β”œβ”€β”€ media
β”‚Β Β    β”œβ”€β”€ site.webmanifest
β”‚   β”œβ”€β”€ robots.txt
β”‚   β”œβ”€β”€ service-worker.js
β”‚   β”œβ”€β”€ sitemap-index.html
β”‚   └── sounds
β”œβ”€β”€ README.md
β”œβ”€β”€ setup-hooks.sh
β”œβ”€β”€ src
β”œβ”€β”€ assets
β”‚Β Β     β”œβ”€β”€ icons
β”‚Β Β     β”œβ”€β”€ screenshots
β”‚Β Β     └── styles
β”œβ”€β”€ components
β”œβ”€β”€ content
β”‚Β Β    β”œβ”€β”€ article
β”‚Β Β    β”œβ”€β”€ blog
β”‚Β Β    β”œβ”€β”€ stories
β”‚Β Β  β”œβ”€β”€ content.config.ts
β”‚Β Β  β”œβ”€β”€ data
β”‚Β Β  β”œβ”€β”€ env.d.ts
β”‚Β Β  β”œβ”€β”€ env.patch.ts
β”‚Β Β  β”œβ”€β”€ layouts
β”‚Β Β  β”œβ”€β”€ mappers
β”‚Β Β  β”œβ”€β”€ pages
β”‚Β Β  β”œβ”€β”€ site.config.ts
β”‚Β Β  β”œβ”€β”€ types
β”‚Β Β  └── utils
β”œβ”€β”€ tsconfig.eslint.json
└── tsconfig.json

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