Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aryanx23/swym_aryanx23
Test for SWYM
https://github.com/aryanx23/swym_aryanx23
Last synced: about 2 months ago
JSON representation
Test for SWYM
- Host: GitHub
- URL: https://github.com/aryanx23/swym_aryanx23
- Owner: aryanX23
- Created: 2023-08-08T15:36:21.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-08T18:15:55.000Z (over 1 year ago)
- Last Synced: 2023-08-08T18:37:09.519Z (over 1 year ago)
- Language: JavaScript
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### URL MASKER APP
####Overview
The Website converts given URL from a .csv file into a masked Url which when clicked redirects the user to the given link in csv.#### Tech Stack Used
- Frontend
- React
- Toolkits:
- Axios
- PapaParse
- Mui
- Backend
- Node
- Express
- Mongoose
- Crypto
- Cors
- cookie-parser
- Body-parser
- dotenv
- Datebase
- MongoDB#### How it works
- Steps:
- First, we collect all all the URl in a csv file.
- We upload the file, and name of the person and then it pings the backend where the information gets converted.
- The input gets hashed into a random String and a new Url is generated(Masked URl) which is then saved into the dB.
- Then the frontend is supplied with an array of masked url which if clicked on the frontend, redirects to the original URl.
- On the frontend, if the URl has been clicked, it generates a count variable which keep track of number of clicks.#### How to feed the env variables
ORIGIN_URL = "The Origin URL that we wanna feed to cors"
PORT = "The port that we want out server to run on" // Default is 8000
MONGO_URI = "The DB URL"And.. Thats it !!
Video Link: https://drive.google.com/file/d/1iaRiLUSMD-HJ_tPCDtm40zRFhOqSwH84/view?usp=sharing