Skip to content

Getting Started

Quick Start

  1. Clone the repo

    Terminal window
    git clone https://github.com/Psypher1/the-language-hub.git
  2. Change the working directory

    Terminal window
    cd the-language-hub
  3. Install dependencies

    Terminal window
    npm install
  4. Run the app

    Terminal window
    npm run dev

    That’s All!!! Now open localhost:3000 to see the app.

Project Structure

  • Directory.github
    • github templates and workfows
  • Directorypublic
    • static assets for the project
  • Directorysrc
    • Directorycomponents
      • Directoryfeatures
        • LanguageSidebar.astro
        • TopLangNav
    • Directorycontent
      • docs
      • where these docs live
      • Directorylearn
        • Directoryfrench
        • Directoryswahili
          • basics.md
      • config.js
    • Directorydata
    • Directoryicons
    • Directorylayouts
      • Directorymeta
        • BaseHead.astro
        • globals.css
      • Directorypartials
        • Footer.astro
        • Header.astro
      • BaseLayout.astro
    • Directorypages
      • Directory[learnPath]
        • [slug].astro
      • 404.astro
      • about.astro
      • index.astro
    • Directoryutils
      • getMenuFromCollection.js
    • env.d.ts
  • .gitignore
  • .prettierignore
  • .prettierrc.mjs
  • astro.config.mjs
  • CODE_OF_CONDUCT
  • CONTRIBUTING.md
  • Detail.png
  • Home.png
  • LICENSE
  • package.json
  • pnpm-lock.yml
  • README.md
  • tailwind.config.js
  • tsconfing.js