TomatoGuy0502 / nuxt-graph

πŸŽ“ Learn Graph Theory with interactive lessons and hands-on exercises

Home Page:https://graph-theory-tutorial.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graph Theory Interactive Learning Platform


Landing Page Screenshot

Learn Graph Theory with interactive lessons and hands-on exercises.

Tech Stack

  • Nuxt - Progressive Vue.js framework
  • Nuxt Content - File-based content management system within Nuxt
  • D3.js - A library for creating custom interactive data visualizations
  • VueUse - Collection of Vue Composition Utilities
  • TailwindCSS - Utility-first CSS framework
  • DaisyUI - Component library for Tailwind CSS
  • UnoCSS - Providing pure CSS icons
  • Typescript - Strongly typed JavaScript
  • Vitest - Unit testing powered by Vite
  • Vue Test Utils - Testing utility library for Vue.js
  • ESLint - A linting tool for identifying and fixing problematic patterns
  • Prettier - An opinionated code formatter
  • pnpm - Fast, disk space efficient package manager

Run Locally

Install

Clone the project, go to the project directory

git clone https://github.com/TomatoGuy0502/nuxt-graph
cd nuxt-graph

Install the dependencies

# pnpm
pnpm install

# npm
npm install

# yarn
yarn install

Development

Start the development server on http://localhost:3000

pnpm run dev

Testing

Testing the application

pnpm run test

# With coverage
pnpm run test --coverage.enabled

Build

Build the application for production:

pnpm run generate

Locally preview production build:

pnpm run preview

Project Structure

β”œβ”€β”€ assets                  # All the assets that the build tool will process.
β”‚   β”œβ”€β”€ css
β”‚   └── svg
β”œβ”€β”€ components              # Vue components
β”‚   β”œβ”€β”€ content                 # Components that used in .md file
β”‚   └── d3                      # Components that related to the graph
β”œβ”€β”€ composables             # Vue composables
β”œβ”€β”€ content                 # Files that will be read by Nuxt Content
β”‚   β”œβ”€β”€ 1.basic
β”‚   β”œβ”€β”€ 2.representation
β”‚   └── 3.algorithm
β”œβ”€β”€ layouts                 # Layout file for different pages
β”œβ”€β”€ pages                   # All the pages(routes)
β”‚   └── tutorial
β”‚       β”œβ”€β”€ algorithm
β”‚       β”œβ”€β”€ basic
β”‚       └── representation
β”œβ”€β”€ public                  # Contains public files(e.g. favicon.ico)
β”œβ”€β”€ test
β”œβ”€β”€ utils                   # Helper functions
β”œβ”€β”€ app.vue                 # Main component of Nuxt 3 application
β”œβ”€β”€ index.d.ts              # For typing custom page metadata
β”œβ”€β”€ nuxt.config.ts          # Nuxt configuration
β”œβ”€β”€ package.json            # Contains all the scripts and dependencies
β”œβ”€β”€ prettier.config.js      # Prettier configuration
β”œβ”€β”€ tailwind.config.js      # Tailwind CSS configuration
β”œβ”€β”€ tsconfig.json           # TypeScript configuration
β”œβ”€β”€ uno.config.ts           # UnoCSS configuration
└── vitest.config.ts        # Vitest configuration

About

πŸŽ“ Learn Graph Theory with interactive lessons and hands-on exercises

https://graph-theory-tutorial.vercel.app


Languages

Language:Vue 53.4%Language:TypeScript 45.9%Language:JavaScript 0.5%Language:CSS 0.2%