Table of Contents
This app should save you from the angry twitter users for saying something controversial but dont rely on it. Its still a work in progress. If you have any ideas that might contribute to it feel free to make it better.
-It basically checks if you have said offensive words in your twitter from a big list with non pc words (the list is located in server/utils/profanity.js
).
If you want to run it locally this is how you do it:
- npm
npm install npm@latest -g
-
Get your bearer token from https://developer.twitter.com/en/docs
-
Make a MongoDB Atlas account and find your connection string
-
Clone the repo
git clone https://github.com/ivaylonikolov7/can-i-get-cancelled.git
-
Install NPM packages
cd frontend npm install cd ../server npm install
-
Create a
server_secrets.js
file with the following structure:module.exports = { MONGODB_CONNECTION_STRING: 'YOUR MONGODB CONNECTION STRING', BEARER_TOKEN: 'YOUR TWITTER API BEARER TOKEN' }
-
Start backend side of the project
cd server yarn start
-
You should start the frontend
cd frontend yarn start
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License.
Ivaylo Nikolov - @IvayloWasTaken - [email protected]
Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!