Frontend Checklist
Structure
- Project has
README.md
with development and deploymentinstructions
- Project has
package-lock.json
- Project has
robots.txt
in a public root - Project has
favicon
and icon shows project's logo. Use Real Favicon Generator
Code
- There is no
linting warnings or errors
Build
- Production build runs with
NODE_ENV=production
- CSS and JS files have unique
hash
in filename e.g.app.5d41402abc4b2a76b9719d911017c592.js
Landing Page
- Website has proper document
title
and metadescription
- Website has proper
OpenGraph
data: title, description, image
Design
- App has consistent colors
- App has consistent fonts
- App has consistent wording. For example, if
Sign up
, noSign Up
,Sign-up
,SignUp
Layout
Horizontall scrolling
inresponsive
version appears only if window width is less than320px
Horizontall scrolling
indesktop only
version appears only if window width is less than1024px
- There is no
jumping elements
while user interacts with UI
Responsive Version
- Proper viewport meta tag is used:
<meta name="viewport" content="width=device-width, initial-scale=1">
Navigation
- App has no
broken links
- Every screen has its
own URL
(Login: /login, Restore password: /restore_password, etc) - App is able to store its
state in URL
and restore itfrom URL
Forms
- The first field has
autofocus
- User is able to navigate through form fields by
Tab
button - Form elements have
active/disabled/valid/invalid
states - Form submits on
Enter
key press
Login Form
- User is able to login with
password manager
(browser embedded or external)
Lists
- UI has
empty data
state - Data filtering/sorting/pagination stores
state in URL
(share-friendly URLs) - Filter updating sets pagination to the
first page
Content
Big image
doesn't brake its wrapper (max-height: 100%; max-width: 100%)Modal
(Popup) layer closes onEsc
pressGallery
switch images onarrows
(<
and>
) press- Action
icons
havetitle
hint
Fonts
- All custom fonts have fallback
system fonts
Data Format
Date
is stored inUTC
(ISO 8601)
Data Transfer
- App communicates with server via
JSON
- App indicates data
fetching
process (spinner
, logo blinking, etc) - App displays successful transfer as well as failed
Offline Mode
- App displays message while it's in
offline mode
Analytics
- App has
analytics
(Google Tag Manager, Google Analytics, Yandex.Metrika, etc) code for production - App has
bug hunter
(Bugsnag, Sentry, etc) code for production
Deployment
- Server is available in target country
- Low latency
- High bandwitch
- Forever caching by unique filename is enabled (see Build section)
- GZip compression is enabled
- SPA URL rewrite is enabled (if needed)
- HTTP/2 is enabled (if applicable)