Skip to content

πŸ” Open source system for handling access to any physical entry gate.

License

Notifications You must be signed in to change notification settings

Mefjus/smart-gate

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Smart Gate

smart gate logo
πŸ” Open source system for handling access to any physical entry gate.

Created by Jakub JΓ³ΕΊwiak and Mateusz Nestorowicz

Live app: smart-gate.netlify.app

UI/UX: figma.com/smart-gate

Storybook: smart-gate.chromatic.com


Netlify Status CI GitHub last commit CodeFactor semantic-release All Contributors Star on GitHub

🚩 Table of Contents

πŸ“– About

Smart gate info banner

System for managing and handling access to any physical entry home gate.

πŸŽ“ Getting started

Prerequisites

General installation

yarn

πŸ“¦ Packages Docs

πŸ“ Conventional Commits

Commitlint checks if your commit messages meet the conventional commit format. Also it requires package scope (https://www.npmjs.com/package/@commitlint/config-lerna-scopes).

Structure:

type(package-name): general info

Structure with more inforamtion:

type(package-name): general info

- add login panel
- add avatar

Example:

feat(smart-gate-api): add comment section

Common types according to commitlint-config-conventional (based on the Angular convention) can be: conventional-commit-types. Header (first line) must not be longer than 100 characters.

For just validating your commit message without commiting it use terminal:

echo 'foo: bar' | commitlint

πŸ€– Hygen - Code generator

Hygen is the cli dev tool that provides the ability for generating scalable code. All code generation templates are defined in the __template directory. Remember to add created model to git files (typically those files are excluded from default). For more details check Hygen docs.

Available generators:

Package Script Description
client hygen:element Creates new standardize React component, story and style file

πŸ“ Available root scripts

To run script, in terminal type yarn {script}.

Script Description Note
build
check Runs linter, prettier, tests and ts-check in all packages
heroku-postbuild It runs on heroku before api build
preinstall Checks is yarn was used package manager It runs automatically before every install
lint Checks linter rules
lint:fix Fix linter
stylelint Checks stylelint rules for styled-components
prettier Checks prettier rules
prettier:fix Fix prettier
prepare Install husky It runs automatically after every install
removeNodeModules Remove all node_modules from project (all packages)
sortPackageJson Sort alphabetical all package.json in project
start Used to run api package on heroku
start:ci Start concurrently api and client in test mode
test Runs tests for all packages
type-check Checks TypeScript types for all packages

Changelog

Learn about the latest improvements.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Jakub JΓ³ΕΊwiak

πŸ’» πŸ“– 🎨 πŸ€” πŸš‡ πŸ‘€

Mefjus

πŸ’» πŸ€” πŸ‘€

nikofiko123

🎨

Vatras

πŸ‘€

This project follows the all-contributors specification. Contributions of any kind welcome!

License

Copyright 2020 Jakub JΓ³ΕΊwiak. Licensed under the MIT license.

About

πŸ” Open source system for handling access to any physical entry gate.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.1%
  • JavaScript 1.9%
  • Other 1.0%