Table of Contents
This project is a mono repository that contains a frontend and a backend. The goal is to create a web application that will allow you to delete your tweets in bulk. The backend is a native webserver golang application that will allow you to interact with the twitter API. The frontend is a nuxt application that will allow you to interact with the backend.
List of technologies / frameworks used during the project.
It's easy to publish and create content online. But it's hard to keep it clean. This project will help you to clean your tweeter account. With api you can only delete tweets by x limit, so i added a cron that delete tweet if you excess limit.
The best way to deploy the project is to use docker and docker-compose. You will need to have docker and docker-compose installed on your machine.
Golang is also required to build the backend. Node is required to build the frontend.
Before running the project, you need to add a .env in the backend folder with the following content :
#Mongo
URI_MONGO=""
#Twitter
CLIENT_ID=""
SECRET_CLIENT_ID=""
REDIRECT_URI="Same as in twitter app"
CLIENT_URI="Same as in twitter app"
Then you can run the project with the following command (don't forget to be in the backend folder, and go mod tidy before running the project):
go run server.go
Before running the project, you need to add a .env in the backend folder with the following content :
NUXT_VERSION="2.0"
NUXT_API_ENDPOINT=""
NUXT_API_REDIRECT_URI=""
NUXT_API_WEBSOCKET=""
NUXT_TWITTER_CLIENT_ID=""
NUXT_TWITTER_CODE_CHALLENGE=""
Then you can run the project with the following command (don't forget to be in the frontend folder):
pnpm run dev
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. See LICENSE.txt
for more information.
Reach me at : gauron.dorian.pro@gmail.com.
Project Link: https://github.com/Michelprogram/magic-scanner.git
This space is a list to resources i found helpful and would like to give credit to.