Skip to content

This is a setup for a ReactJS project using Next.js 13, TypeScript, and TailwindCSS. It'll help you to easily start your projects with these powerful tools. With this template, you'll be able to build powerful and engaging web applications that stand out from the crowd. Ready to take your project to the next level? Let's get started!

Notifications You must be signed in to change notification settings

DaianaArena/reactjs-nextjs-tailwind-boilerplate

Repository files navigation

nextjs react tailwind typescript

This is my personal Next.js+Typescript+Tailwind boilerplate. Feel free to use it if you like it!

Please visit my Linkedin to say thanks :grin: remember it helps me a lot ♥

Before Installation - System Requirements

Make sure your development environment meets the following requirements:

  • Node.js 16.8 or later.
  • MacOS, Windows (including WSL), and Linux are supported.

Note: While the pages directory requires Node.js v14 or later, the app directory requires Node v16.8.0 or later.

New features! Clone this repository from the template

Now you can create new repositories based on this project by clicking on the "Use this template" button at the top of this repository page or by clicking here.

How to clone this repository from the template:

  1. Give your new repository a name and description.
  2. Choose the owner for the new repository.
  3. Click "Create repository from template".

Once you have created your new repository from the template, you can clone it to your local machine using the following steps:

  1. Copy the URL of your new repository.
  2. Open your terminal or Git Bash.
  3. Navigate to the directory where you want to clone the repository.
  4. Run the following command: git clone (replace with the URL you copied in step 1).
  5. Press enter and the repository will be cloned to your local machine.

That's it! You now have a local copy of the repository and can start working on it.

Getting Started

First, install all the dependencies:

npm install
# or
yarn install

Then, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

NextJS

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository

Tailwind

To learn about tailwind you can checkout Tailwind documentation.

Typescript

If you need to learn more about typescript don't forget to visit their documentation

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out Next.js deployment documentation for more details.

About

This is a setup for a ReactJS project using Next.js 13, TypeScript, and TailwindCSS. It'll help you to easily start your projects with these powerful tools. With this template, you'll be able to build powerful and engaging web applications that stand out from the crowd. Ready to take your project to the next level? Let's get started!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published