Skip to content

Tittoh/anagram-solver

Repository files navigation

Anagram Solver

A simple full stack anagram solver built with Next.js that helps users find all possible anagrams for a given word or phrase.

Getting Started

1. Locally:

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

  1. Clone the repository:
# HTTPS
git clone https://github.com/Tittoh/anagram-solver.git
# or CLI
gh repo clone Tittoh/anagram-solver
  1. Install the dependencies: yarn install

  2. Start the development server: yarn dev

  3. Open http://localhost:3000 in your browser to view the application.

First, run the development server:

You can start editing the page by modifying src/pages/index.tsx.

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

2. One-click Deploy

You can deploy this template to Vercel with the button below:

Deploy with Vercel

Usage

  1. Enter a word or phrase in the input field.

  2. Click the "Search" button.

  3. All possible anagrams will be displayed below the input field.

Technologies

  • Next.js – React framework for building performant apps with the best developer experience
  • Tailwind CSS – Utility-first CSS framework for rapid UI development
  • Vercel – Easily preview & deploy changes with git

Contribution

To contribute to the project, please follow these guidelines:

  1. Fork the repository.

  2. Create a new branch for your feature or bug fix.

  3. Send a pull request.

Known Issues

  • The available dictionary is contains ~23,000 words. If you find any issues, please report them here.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Author