@mbaluev/t1v3-shop-ssr-core

1.0.0 • Public • Published

T1-v2-shop-SSR


Quality Gate Status

Reliability Rating Maintainability Rating Security Rating

Bugs Code Smells Vulnerabilities Coverage Duplicated Lines (%)

Lines of Code Technical Debt

How to use

Install it and run:

npm ci
npm run dev

The idea behind

The project uses :

  1. TypeScript
  2. Next.js, which is a framework for server-rendered React apps
  3. MaterialUI @mui/material and its peer dependencies, including emotion, the default style engine in MUI v5
  4. Docker

Using Docker

  1. Install Docker on your machine
  2. Build your container: docker build -t t1-v2-shop-ssr .
  3. Run your container: docker run -p 80:3000 t1-v2-shop-ssr

You can view your images created with docker images

In existing projects

To add support for Docker to an existing project, just copy the Dockerfile into the root of the project and add the following to the next.config.js file:

// next.config.js
module.exports = {
  // ... rest of the configuration.
  experimental: {
    outputStandalone: true,
  },
}

/@mbaluev/t1v3-shop-ssr-core/

    Package Sidebar

    Install

    npm i @mbaluev/t1v3-shop-ssr-core

    Weekly Downloads

    1

    Version

    1.0.0

    License

    none

    Unpacked Size

    1.1 MB

    Total Files

    884

    Last publish

    Collaborators

    • mbaluev