A starter template for building web applications using Next.js with TypeScript, Tailwind CSS, and Jest for testing.
Follow these steps to get this starter template up and running on your local machine.
Make sure you have Node.js and npm (or Yarn) installed on your computer.
Clone this repository to your local machine:
git clone https://github.com/zied-snoussi/nextjs13-reactjs-typescript-tailwindcss-jest-starter-frontend.git
Change into the project directory:
cd nextjs13-reactjs-typescript-tailwindcss-jest-starter-frontend
Install the project dependencies:
If you're using npm:
npm install
If you're using Yarn:
yarn
To start the development server, run the following command:
npm run dev
or
yarn dev
The application will be available at http://localhost:3000.
To build the production-ready version of the application, use the following command:
npm run build
or
yarn build
After building the application, you can start it in production mode with the following command:
npm start
or
yarn start
To run ESLint for code linting, use the following command:
npm run lint
or
yarn lint
Jest is used for testing. You can run the tests with:
npm test
or
yarn test
For watching file changes during development, use:
npm run test-watch
or
yarn test-watch
This project is licensed under the MIT License - see the LICENSE file for details.
Happy coding!