Skip to content

Repository files navigation

WSD Text Analyzer Service

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/NullPointError07/Text-Analyzer-Tool.git
  2. Go to the project directory

    cd Toxic Text-Analyzer-Tool
  3. Install dependencies

    Make sure you have Node.js installed. Then run:

    npm install

Configurations

  1. Environment Variables

    Create a .env file in the root of the project and add necessary environment variables given below:

    PORT=
    MONGO_URI=
    SECRET=YOUR_OWN_SECRET_KEY
    GOOGLE_CLIENT_ID=YOUR_GOOGLE_CLIENT_ID
    GOOGLE_CLIENT_SECRET=YOUR_GOOGLE_CLIENT_SECRET

Running the Project

  1. Build the development Server

    npm run build
    
  2. Start the development Server

    npm run start
    

    You can see in server log

    Server is running on http://localhost:YOUR_PORT

  3. Running Tests

    To run tests with Jest, use the following command:

    npx jest
    

Authors

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages