Skip to content

Latest commit

 

History

History
102 lines (78 loc) · 4.13 KB

File metadata and controls

102 lines (78 loc) · 4.13 KB

Github Banner

In the bustling realm of technology, where innovation is the heartbeat, "Developer Log" emerges as a guiding light for both seasoned developers and aspiring enthusiasts alike. This unique blog serves as a sanctuary for code aficionados, offering a rich tapestry of insights, experiences, and solutions in the ever-evolving world of software development.

Stack 🥸

  • Nuxt
  • Typescript

ESLint modules 🔥

Stylelint modules ☄️

Nuxt modules 💫

Setup 👌

If you don't have a pnpm - you will need it.

# Installing of pnpm
npm i -g pnpm

After the installation of the pnpm - you can install dependecies of the project:

pnpm i

Warn: You should create an .env file. Just copy it from .env.example and copy & paste secrets.

After creation of dotenv file you can run project with the following command:

pnpm app:dev

Commands 🙌

If you can, you can use Webstorm commands via Ctrl + Ctrl keybinding

You also can use next terminal commands:

  • app: Commands for app
    • app:dev: Run development server;
    • app:build: Build the project;
    • app:run: Run production server;
    • app:analyze: Analyze server and client bundle;
  • lint: Commands for linters
    • lint:eslint: Run ESLint;
    • lint:stylelint: Run Stylelint;
    • lint:svglint: Lint svg files with svglint;
    • lint:staged: Lint all staged files;
  • deploy: Commands for deploying
    • deploy:dev: Deploy to the development server;
    • deploy:prod: Deploy to the production server;

Internationalization 👅

Languages dictionaries are located in @/localization. Following languages are supported now:

  • Russian (Main language);
  • English;
  • Belarusian;
  • Korean;
  • Kazakhstan;

Hooks 🤞

This project has husky and git hooks.

  • commit
    We use commitlint for linting commit messages;
  • pre-commit
    On pre-commit hook husky runs eslint and stylelint on every committed file;
  • push
    We have hook on push. It runs unit and end to end tests;

Conventions 🤝

  1. We're building mobile-first layout
  2. We're using from-{breakpoint} mixin, it's located in styles/prebuild/breakpoint.scss

Adaptive 🤳

  • Minimal Value: 400px;
  • Maximum value: 2048px;

For adaptive layout we use sass mixins, they are defined in styles/prebuild/breakpoint.scss.

Blog also have a dark theme. Mixin for dark theme is defined in styles/prebuild/theme.scss.