Giter Site home page Giter Site logo

text_analyzer's Introduction

In Home Assignment for UI Engineer @ APIwiz

Introduction

I created this project using React.js, Tailwind CSS and TypeScript. The idea behind the implmentation is simple.

  1. There's a Intro.tsx component that displays the basic information about the project.
  2. Then, I have a component called SwitchMenu.tsx, that switches between two parts of the project according to the option state variable.
  3. Then, for the first part of the project, I have the WordInput.tsx component as entry point. It has various state variables for storing the word, character count, word count and details regarding the word as fetched from the required API. All of these details is extracted and transferred to as props to the WordDetails and WordStats component and rendered accordingly.
  4. Then, for the second part of the project, I input the required content in a text area, and then dynamically update the required details using useEffect hook.

I also made the project responsive for medium and small screen devices.

Deployed Link

https://text-analyzer-egvr-j3xfpep3v-swapn652.vercel.app/

How to run the project locally?

  1. First fork the project and then download it locally, either using git bash or GitHub desktop.
  2. Then, open the project in VSCode or any other editor of your choice.
  3. Open the terminal in the same directory as of project and type the command npm i to install all the required dependencies.
  4. Then create a .env file and declare a variable named: VITE_API_KEY: {your_api_key}. You can fetch the API key from Rapid API.
  5. Run 'npm run devand go tohttp://localhost:3000` and find your working project.

Screenshots

PC

Screenshot 2024-01-12 at 5 07 15 PM Screenshot 2024-01-12 at 5 07 24 PM Screenshot 2024-01-12 at 5 07 51 PM Screenshot 2024-01-12 at 5 07 43 PM

iPad

Screenshot 2024-01-12 at 5 08 24 PM Screenshot 2024-01-12 at 5 08 39 PM

Mobile

Screenshot 2024-01-12 at 5 09 09 PM Screenshot 2024-01-12 at 5 09 22 PM Screenshot 2024-01-12 at 5 09 39 PM Screenshot 2024-01-12 at 5 09 51 PM

text_analyzer's People

Contributors

swapn652 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.