Skip to content

Starter template for frontend code using React, Next JS, vite, npm, pnpm, tailwindcss and other options

License

Notifications You must be signed in to change notification settings

Thanka-Digital/beej

Repository files navigation

Beej

Package to scaffold starter templates for web frontend application with next.js or react along with pre configured components, helpers and other functionalities for starting new project quickly.

Warning

The package is still in very early stage

Scaffold a project

Warning

Required Node.js version 18+

With npm:

npx @thanka-digital/beej@latest

With pnpm:

pnpx @thanka-digital/beej@latest

Now follow the prompts.

Features

  • Pre configured global components such as input, button (using tailwind/chakra/mantine)
  • Proper API integration helper functions (using fetch/rtk/tanstack)
  • Proper validation and error handling (using zod/react-form)
  • Routing configuration (using react-router-dom for react)
  • State management (using context/redux/jotai/zustand)
  • Useful custom hooks such as usePortals, useWindowResize, and more
  • Extensible design system implementation (tailwind config, mantine theme, chakra theme)
  • Testing templates (using jest/testing-library/playwright)
  • Accessibility focused (night watcher/axe dev tools)
  • SEO optimized
  • Fully customizable to fit the need

Note

As stated earlier the package is still in the early stage and there are many features still being worked on. In the meantime you can check the npm published package and provide us with feedback or issues.

Contribution

Follow our contribution guide and start contributing in various ways.

About

Starter template for frontend code using React, Next JS, vite, npm, pnpm, tailwindcss and other options

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published