[README.md
is in development]
https://feature-sliced.design/
- Features
- There must be Swagger documentaion.
- There must be, at least, necessary autotests.
- If arrays are returned, they can't be
nullable
oroptional
, they are alwaysrequired
and in case of empty array should return[]
.
If you want to use gzipping in your app to enhance perfomance, you better use CDN (like cloudflare) and setup gzip there.
Another way is to use something like nginx and enable serving of gzipped files there. But you also will need to gzip your build - you can do it by adding compress-cra
to your app, just follow the instruction in the link.
Currenly, Heroku supports build cra apps without any configuration.
You also might need to know that Heroku consumes two scripts build
for building and start
for serving build, but cra template uses start
as dev server. Then you will have to either put react-scripts start
into another field (like dev
) and make start
as serving build (like serve -s build
) or add a Heroku config file Procfile
with this line
web: npm run serve