/simple-ui

Simple web site on Next.JS with Ant Design Framework

Primary LanguageJavaScriptMIT LicenseMIT

Simple - UI

License: MIT Estado en GitHub Action Estado en GitHub Action Codacy Badge Codacy Badge

Simple web site on Next.JS with Ant Design Framework

Prerequisites

node
docker

3rd party libraries

Folder Structure

    public/                      # Public Next.js conventions
    src/
    ├── components               # React components
    ├── containers               # React containers
    ├── hooks                    # React hooks
    ├── pages                    # Pages Next.js conventions
    ├── styles                   # Theme and styles javascript
    ├── utils                    # Utility funcs
    └── README.md

Server Running

docker-compose up

The server will be running on port 80 and SSL 443

Status endpoints

  • /metrics: Get node metrics for prometheus tools
  • /up: Return UP text
  • /ping: Return PONG text

Testing

Linter

  • npm run lint
  • npm run lint:fix

Jest

  • npm run test
  • npm run test:coverage