If you want to test this app locally you should follow the next steps
First of all you need to install :
- npm : package manager for node modules
- Node.js : Javascript runtime environement.
- Redis : is an open source (BSD licensed), in-memory data structure store.
Run :
git clone https://github.com/majdas007/Test-justify.git
Run :
npm install
npm start
> To justify text : http://localhost:3001/api/justify : accepts text as an entry
> To generate token : http://localhost:3001/api/token : accepts json that contains "email" field to generate token