Skip to content

evandrolorran/api-uniqueify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js API Unique-ify - Playground Inc.

Description

This is an assignment provided by Playgroung Inc. which the objective is to implement in Node.js an app that exposes a single API endpoint at /unique-ify that accepts GET requests with a single parameter, text.

If text is a string composed of only letters (A-Z in any combination of upper and lower case) and/or spaces, it will return a string representation of the collection of unique letters that make up text, sorted alphabetically and provided in lower case.

Otherwise the endpoint should return an error accompanied with the message “Please only enter letters A-Z or spaces.”

How to Run this API locally

Clone or download this repository, then open it in your preferred IDE/Code Editor:

If you want to run this API locally in your computer, you need to follow these steps

        **In progress**

or just try the React-App

https://uniqueify-react-app.herokuapp.com/

How to Test - GET Request

The easiest way to test and see the result of the GET request is by copy and paste the link below in your browser:

        https://api-uniqueify.herokuapp.com/unique-ify?text=This is an Node API
        https://api-uniqueify.herokuapp.com/unique-ify?text=23432
        https://api-uniqueify.herokuapp.com/unique-ify?text=

Tools used to build this API:

Unique-ify - Front-End React App

Unique-ify - React App

Author

The API was developed by evandrolorran for Playground Inc Playgroung Inc. Company in order to show the development skill level in Node.js.

Contact

evandrolorran@gmail.com

Special Thanks / Mentions

For supporting me and the feedbacks during development. MAJA WITTER

About

Node.js API that provides an unique string output after processing an text parameter by GET request.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors