Skip to content

tokiory/developer-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.