Skip to content

An API to detect online racial microaggression and abuse

Notifications You must be signed in to change notification settings

Shiv10/serenity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 

Repository files navigation

SerenityJS

Racial Micro-aggression detection
Link to frontend

Table of Contents

  • About the Project
    • Routes
    • Built With
  • Getting Started
    • Prerequisites
    • Installation
  • Usage
  • Roadmap
  • Contributing
  • License

About The Project

This project is a project based on machine learning and natural language processing which is integrated together with NodeJS to develop a RESTful API that detects the presence of racial microaggression in an input sentence.

Routes

Sr. No Description
1. Check an input Get request on route '/predict' to check whether there are traces of hate speech in an input or not.

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • node js

Installation and Setup

  1. Clone the repo
git clone https://github.com/Shiv10/serenity.git
  1. Change directory to Appointy-instagram-clone
cd ./serenity/Backend
  1. Install the node modules
npm i
  1. Create .env file and add data from the sample env (not needed if zip archive is provided)
touch .env && nano .env
  1. Start backend server in development mode
npm run dev
  1. Clone the repo
 git clone https://github.com/shaarangg/serenityjsFrontend.git
  1. Change directory
 cd ./serenityFrontend
  1. Start the frontend server
 npm run start

Usage

  1. Open the frontend in the broswer and you will be greeted with a screen as below. s1

  1. Write your text in the given text area and press the submit button to get according response. s2

s3

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Flow of contributions

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'feat: Add some AmazingFeature')
  4. Push to the Branch (git push -u origin feature/AmazingFeature)
  5. Open a Pull Request

Happy Coding 😄