This project demonstrates a setup for serving static files using Fastify as the backend server and vanilla JavaScript with Webpack for the frontend. It combines the efficiency of Fastify for serving static content with the modern development workflow enabled by Webpack.
-
Fastify Backend Server: Utilizes Fastify, a high-performance web framework for Node.js, to efficiently serve static files.
-
Vanilla JavaScript Frontend: Implements a frontend using vanilla JavaScript, offering simplicity and flexibility for building client-side functionality without additional frameworks or libraries.
-
Webpack Integration: Incorporates Webpack as the build tool for bundling and optimizing frontend
-
Clone the repository:
git clone https://github.com/your-username/fastify-static-vanilla-js-webpack.git
-
Install dependencies:
npm install
-
Start the project:
npm start