DEV Community

Cover image for Awesome method to create a NextJS project.
Matheus Maximiliano
Matheus Maximiliano

Posted on β€’ Originally published at dev.to

2 2

Awesome method to create a NextJS project.

Why NextJS?

If you work today with web development, have chances that you listened about NextJS. NextJS comes with powerful Sever-Side Rendering (SSR), and Static Site Generation (SSG) capabilities built-in.

Using NextJS you spend more time writing features, and less time struggling with build tools and Webpack. πŸ’₯

He have a very great structures of into pages to doing routing to your project and combine with a improved search engine optimization is a great framework to build a frontend project.

Chakra UI, why it?

chakra UI is a very great component library for building React applications. That is super easy to us developing while also taking care of accessibility.

I love the themes that chakra have, by create a color pallet and can automatically create states for hover, active, disabled, etc. As well as be able to build and change themes, like a light theme, and dark theme in very easy form.

Moreover the form of use Styled System, simplifying use of inline styliing with style props, provides shorhand versions of commomn, like margin as 'm' and padding as 'p, and facilitating write codes responsive .

<Text
   fontSize={["1.4rem","1.75rem"]}
   fontWeight="700"
   color="purple.900"
   w={["90%","100%"]}
   lineHeight="1.5rem"
   mb="4"
>
   Hello World!
</Text>
Enter fullscreen mode Exit fullscreen mode

After all, I say that Chakra UI is the best design system to create my projects, all the functionality that is offered help me in create great projects in less time.

Start a Project πŸš€

NextJS have a lot types of exemples to start your project, and if you need create a front-end project with chakra ui and typescript, just use this command.

Using create-next-app execute with npm or yarn this exemple:

npx create-next-app --example with-chakra-ui-typescript blogproject
or
yarn create next-app --example with-chakra-ui-typescript blogproject
Enter fullscreen mode Exit fullscreen mode

so now, you have a great base to start your projects.

base project

This is a great form to create a new projects, and start use NextJS and adventuring create awesome interfaces. And if you want others exemples πŸš€ from NextJS, you can in this link.

Heroku

Deliver your unique apps, your own way.

Heroku tackles the toil β€” patching and upgrading, 24/7 ops and security, build systems, failovers, and more. Stay focused on building great data-driven applications.

Learn More

Top comments (0)

Neon image

Next.js applications: Set up a Neon project in seconds

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Get started β†’

πŸ‘‹ Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay