/Search-Simulate

Next.js Tailwind Testing with Jest

Primary LanguageTypeScript

This is a Next.js project bootstrapped with create-next-app.

Getting Started

  1. Install the dependencies with yarn
  2. Run the development server with yarn dev
  3. Open http://localhost:3000 with your browser to see the result.

Testing

  1. Run tests with yarn test

App Structure

This app is relatively barebones, but there are a few helpful directories/conventions setup:

  • /data — JSON files with data which can be imported into other files as necessary.
  • /pages — Next.JS pages
  • /__tests__ — Jest tests
  • /styles — Global CSS and tailwind imports

Learn More

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