/module-federation-demo

Demo/ Module Federation using two NextJS apps - (Home, Remote), Node server (MongoDB) and CMS (Strapi)

Primary LanguageJavaScript

title description tags
Getting Started
How to setup the local environment for this repository
setup

Local environment

The only requirement is Node.js v18.4.0 or higher.

There are different ways to install it:

It's recommended to use a version manager, so the Node version can be easily changed.

Install

Clone the repository:

git clone  https://github.com/dhristoskov/module-federation-demo

Install dependencies for every project:

npm install

Run

Run the project on your local:

npm run start

The web app will connect to the backend, make sure it's running on port 3000