An open API service indexing awesome lists of open source software.

https://github.com/dev-eranda/webpack5-express-microfrontends

This repository showcases Webpack 5's capabilities, including serving HTML pages with Express, dynamic content using jQuery, and micro-frontends with Module Federation
https://github.com/dev-eranda/webpack5-express-microfrontends

express html jquery micro-frontends nodejs serve-html-page webpack5 webpack5-module-federation

Last synced: 5 months ago
JSON representation

This repository showcases Webpack 5's capabilities, including serving HTML pages with Express, dynamic content using jQuery, and micro-frontends with Module Federation

Awesome Lists containing this project

README

        

# Webpack

**Developed By:** Eranda Samarasinghe


## Project Backgroud and Overview
This project demonstrates the use of Webpack 5 for module bundling, along with setting up an Express server to serve HTML pages and integrating jQuery. It also explores the use of Webpack 5's Module Federation for implementing Micro Frontends.


## Project Goals
The main objectives of this application are to:

1. Get a solid foundation for learning advanced Webpack features.
2. Integrate Webpack 5 with NodeJS and Express framework.
3. Structure your code better with ES Modules and Webpack Code Splitting.
4. Use Webpack for Single Page Applications as well as Multiple Page Applications.
5. Master the new Module Federation feature introduced in Webpack 5.


## Technical Details
Core technologies used:

- **Node.js, HTML, jQuery, Express, Module Federation, Micro Frontends**


## Installation
1. Clone repository:
```sh
git clone https://github.com/your-username/webpack5.git

2. Install dependencies:
```sh
npm install

3. Start development server:
```sh
npm run dev