An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          


Link Cleaner


GitHub
Website
Website

Remove spaces and emojis from your links.


## 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)