Welcome! This repository contains the course materials for Advanced Web Technology, taught by Hari. It includes presentation slides, project code examples, and build scripts.
This course explores modern web development concepts, tools, and best practices. The materials are designed to provide a practical understanding of building and deploying web applications, covering both theoretical foundations via slides and practical application through projects.
- Slides: Slidev
- Frontend Build Tool: Vite
- Deployment: Cloudflare Pages
- Package Manager: pnpm
- Tailwind CSS: Tailwind CSS
- Frontend: React (Coming Soon)
- Backend: Express.js (Coming Soon)
- (more coming soon)
slides/: Contains the source Markdown files for the course presentations, powered by Slidev.frontend/: Houses various frontend projects and examples used throughout the course. Each sub-directory is a separate project (e.g.,calculator).scripts/: Contains build and utility scripts, including the deployment script (deploy.js) and HTML templates (template.html).dist/: The output directory for the built slides and frontend projects, structured for deployment. This is automatically generated when runningpnpm build.
- Node.js (LTS version recommended)
- Corepack (
npm install --global corepack@latest) - pnpm (
corepack enable pnpm)
-
Clone the repository:
git clone https://github.com/hari/advanced-web-technology.git cd advanced-web-technology -
Install dependencies for the entire workspace:
pnpm install
-
Run Slides: To view and develop the slides locally:
cd slides && pnpm dev chapters/slide-name.md # Or run from the root pnpm slides chapters/slide-name.md
-
Run a Frontend Project (e.g., Calculator):
cd frontend/calculator pnpm devNavigate to the specific project directory and run its development server.
To build all slides and frontend projects into the dist directory:
pnpm buildThis command executes the
scripts/deploy.jsscript.
You can then use VsCode's Live Server extension to view the slides and projects locally.
The live version of the slides and projects is automatically deployed to Cloudflare Pages.
Live Site: https://advanced-web-technology.pages.dev/