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

https://github.com/mohit-s96/twitter-user-mentions

SImple UI with JSON server which uses runtime JS parsing of a text body to find '@' user mentions.
https://github.com/mohit-s96/twitter-user-mentions

Last synced: about 2 months ago
JSON representation

SImple UI with JSON server which uses runtime JS parsing of a text body to find '@' user mentions.

Awesome Lists containing this project

README

        

Simple UI with Vanilla JS/CSS and JSON server as backend which uses runtime JS parsing of a text body to find '@' or '#' user mentions.

I made this as a part of learning Javascript DOM and fetch API. The mention part was just something I was curious of so I tried it myself.

To run

## Available Scripts

In the project directory, you can run the following to install dependencies:

### `npm install`

To run the app in the development mode.

### `npm run start`

Open [http://localhost:8080](http://localhost:8080) to start the webpack dev server in the browser.

### `npm run json:server`

To run JSON Server for fake rest API

Parse @ mentions or # mentions

Apply more rules or customizations in src/ui.js parseBody

![GitHub Logo](/img/screenshot.jpg)