https://github.com/auropick/link-cleaner
Remove spaces and emojis from your links. Written with React.js, Redux, Node.js, Express, Mongoose, react-router and regex
https://github.com/auropick/link-cleaner
express mongodb mongoose nodejs react react-router redux redux-thunk regex
Last synced: 3 months ago
JSON representation
Remove spaces and emojis from your links. Written with React.js, Redux, Node.js, Express, Mongoose, react-router and regex
- Host: GitHub
- URL: https://github.com/auropick/link-cleaner
- Owner: AuroPick
- License: mit
- Created: 2020-12-27T23:05:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-27T10:30:59.000Z (almost 5 years ago)
- Last Synced: 2025-07-09T13:56:08.628Z (12 months ago)
- Topics: express, mongodb, mongoose, nodejs, react, react-router, redux, redux-thunk, regex
- Language: JavaScript
- Homepage: https://link-cleaner.netlify.app
- Size: 1020 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Features
:heavy_check_mark: Link cleaning with regex
:heavy_check_mark: Adding link to database
:heavy_check_mark: See all links added to database
:heavy_check_mark: Infinite scrolling
:large_blue_circle: Real-time update
:large_blue_circle: Open graph
:large_blue_circle: Comments to links
## Stack
- MongoDB [:link:](https://www.mongodb.com)
- Express [:link:](https://expressjs.com)
- React [:link:](https://reactjs.org)
- NodeJS [:link:](https://nodejs.org/en/)
- Redux [:link:](https://redux.js.org)
- React Router [:link:](https://reactrouter.com)
- Material UI [:link:](https://material-ui.com)
- Mongoose [:link:](https://mongoosejs.com)
## Installation
1. Install [NodeJS](https://nodejs.org/en/)
2. [Clone](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository) this repo or [download](https://github.com/AuroPick/link-cleaner/archive/refs/heads/master.zip) it
3. Use .env.sample files to create .env files
4. Install dependencies (run this in the root of the project)
```bash
cd server && npm i && cd .. && cd client && npm i && cd ..
```
5. Start server and client (run this in the root of the project)
```bash
start npm start --prefix server && start npm start --prefix client
```
## Regex used for cleaning process
```regex
/( |\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g
```
[See in code](https://github.com/AuroPick/link-cleaner/blob/master/client/src/components/LinkCleaner/Cleaner/Cleaner.js#L42)
