Use npm package manager npmjs to install dependencies.
npm i
npm run dev
tests are in __test__
folders within same folder of files to test
all test files are nameed .test.tsx
npm run test
Docker - build image
docker build -t <user>/<container name> {latest is automatically appended to this “:latest”} .
PM2 to handle live production app: pm2
Use npm package manager npmjs to install dependencies.
npm i
npm run build
pm2 start npm --name "client" -- start
To Stop pm2 instance: pm2 stop client
To Restart pm2 instance: pm2 restart client
To Delete pm2 instance: pm2 delete client
nextjs docs
blueprintjs is a React-based UI toolkit for the web.
Blueprint is a React-based UI toolkit for the web. It is optimized for building complex data-dense interfaces for desktop applications.
styled-components css in js
Utilising tagged template literals (a recent addition to JavaScript) and the power of CSS, styled-components allows you to write actual CSS code to style your components.