I built a room occupancy optimization tool as a React component.
Project is hosted on the Vercel - https://smart-host.vercel.app/
I used the Next.js framework for two reasons:
- It allows to use React.
- I can use Vercel as a hosting platform easily.
Source code is written in TypeScript. Design is implemented using Tailwind.
- Node.js 16.8 or later
npm ci
To verify installation, build app and run unit tests.
npm run build && npm run test:ci
You can run app on your local machine using dev
script.
npm run dev
Running app in the dev environment.
npm run dev
Building the application.
npm run build
Starting app. Do not forget to build the application.
npm start
Running unit tests in the watch mode.
npm test
Running tests once.
npm run test:ci
Lint projects source code.
npm run lint
Format source code with Prettier.
npm run format
Start Storybook server.
npm run storybook
- Add CI/CD to the project
- Prepare Styled Components
- Add Sentry