Trello frontend repository for Ladno Davayte Bez Roflov team, autumn of 2021.
- Ekaterina Alekseeva — frontend mentor;
- Roman Gavrilenco — frontend mentor;
- Timofey Razumov — backend mentor.
Starting the server from the scratch:
npm start
ornpm start-dev
(development configuration)
Build:
npm run build
ornpm run build-dev
(development configuration)
Starting server after build:
npm run server
ornpm run server-dev
(auto-reloading server)
Running linter:
npm run lint
Running linter in fixing mode:
npm run lint:fix
2021_2_LadnoDavayteBezRoflov
|--.github/workflows #GitHub Actions CI
|
|--public
| |--assets #Pictures and icons
| |--fonts #Font files
|
|--server #Static-server
| |-server.js
|
|--src #JS sources
| |--actions #Actions and action types
| |--components #Components
| |--constants #Global constants
| |--modules #Modules
| | |--Dispatcher
| | |--EventBus
| | |--Helpers
| | |--Network
| | |--Router
| | |--Validator
| |
| |--popups
| |--stores #Stores & main logic
| |--styles
| | |--scss
| |--views #Project pages
| |-index_template.html
| |-index.js
| |-sw.js
Versions are updated via two ways:
-
Major updates: major changes to server, architecture and modules. Example: transferring to Flux architecture;
-
Minor updates: minor fixes and changes to server and modules. Example: refactoring Network module.
Latest version: 0.2.2
: HTTPS.
The project is written using slightly modified Google ESling config. Code style changes:
- Semicolons at the end of statements are required;
- Use of single quotes wherever possible is required;
- 4-space indentation is required;
- Mixed tabs and spaces when the spaces are used for alignment are allowed;
- All imports from a single module must be in a single import statement;
- Not enforcing line endings like
\n
or\r\n
is required; let
orconst
instead ofvar
is required;- Variable redeclaration is disallowed;
- Throw warning if there are unused variables;
- Maximum code string length is 105;
- Irregular whitespaces are allowed.