Skip to content

This project is a complete Next.js boilerplate, constantly updated, configured in the smallest details to serve as the basis for large professional projects that intend to scale.

License

Notifications You must be signed in to change notification settings

everton-dgn/boilerplate_astro_solidjs

Repository files navigation

GitHub GitHub repo size GitHub Repo stars

Boilerplate Complete and updated with Astro.js, Solid.js, Typescript, SASS, Tests and more


📝 About the Project

This application is a boilerplate for complex and large systems, especially those that need to scale with security and code quality.

We sought to achieve 3 pillars: readability, reusability, and refactorability.

In the construction of the UI, the Atomic Design structure was chosen, organizing the global components into atoms, molecules, organisms and templates.

In addition to being constantly updated, this project was configured in the smallest details to serve as a basis for professional projects that require standardized and easy-to-maintain code architecture and design.



📌 Contents



🌐 Technologies

🚀 Astro.js

⚛ Solidjs

🔥 TypeScript

💅 SASS

🚩 Lints: Husky, ESlint, Stylelint, Commitlint, Lint-Staged, Prettier and Typecheck

✅ Tests: Vitest and Playwright



🚩 Features

  • Responsive design;

  • Atomic Design;

  • 100% coverage;

  • Detection prefers-reduced-motion;



✅ Prerequisites

  • node (latest version lts).

  • yarn (latest version lts).



❓ How to install and run the project

Clone Repository

git clone https://github.com/everton-dgn/boilerplate_astro_solidjs.git

Install Dependencies

yarn

Start Development Environment

yarn dev

Available in http://localhost:3000

Generate Production Build

yarn build

Start Production Environment

yarn preview

Available in http://localhost:3000

Run Tests

yarn test

Run Tests in Watch Mode

yarn test:w

Available in http://localhost:6006

Run Lints

yarn lint
yarn typecheck
yarn check:format

Format code with prettier

yarn format

Check for Available Updates for Dependencies

yarn check:update


🚨 Important Considerations

  • The husky is configured to not allow commit if there are any lint and typescript errors. The push can only be done if all tests and builds pass.

  • Due to husky's build check settings, to push with git, the development server must be stopped first or an error will occur in the git push command.


🧑‍💻 Author

By Éverton Toffanetto.

🔗 LinkedIn: https://www.linkedin.com/in/everton-toffanetto

🔗 YouTube: https://youtube.com/@toffanettodev

About

This project is a complete Next.js boilerplate, constantly updated, configured in the smallest details to serve as the basis for large professional projects that intend to scale.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages