1.0.0 • Published 2 years ago

@mbaluev/t1v3-shop-ssr-core v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

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,
  },
}