mnmajd / Test-justify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text-justify-test

Summary

If you want to test this app locally you should follow the next steps

Requirements

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.

Demo

1- Clone the project

Run :

git clone https://github.com/majdas007/Test-justify.git

2- Install dependencies

Run :

npm install

3- Run project

npm start

4- Test endpoints

> 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 

About


Languages

Language:JavaScript 100.0%