Code Monkey home page Code Monkey logo

mf-host-app's Introduction

E-Shop (host) Next.js Application

This repository contains the source code for an E-Shop built using Next.js.

Prerequisites

Make sure you have Node.js (v20)

Getting Started

  1. Clone the Repository:

    git clone https://github.com/Sergey-Nag/mf-host-app.git
    cd mf-host-app
  2. Install Dependencies:

    npm install

Available Scripts

npm run dev

Run the application in development mode using the custom server. This script launches the server defined in server.js with the configured /admin route that renders the SPA Microfrontend React app.

npm run dev

npm run next:dev

Run the Next.js development server.

npm run next:dev

npm run build

Build the Next.js application for production.

npm run build

npm run start

Start the built Next.js application in production mode.

npm run start

npm run lint

Lint the project using Next.js linting.

npm run lint

npm run generate-types

Generate types using GraphQL code generation. This script uses the configuration defined in codegen.ts. (The API Server must be running)

npm run generate-types

Configuration

The application is configured to launch with a custom server defined in server.js. This server handles the /admin route, rendering the SPA Microfrontend React app.

Microfrontend Admin Panel App

For the admin panel, we utilize the Admin Microfrontend app. Ensure it is built and running to access the /admin route.

API Server App

To work with data, you need to run the API Server app first.

mf-host-app's People

Contributors

sergey-nag avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.