Skip to content
elforderoPublic

About

Grow test for Swapi

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

SWAPI for Grow Test

Local Development Setup

  1. npm install
  2. npm run start
  3. Navigate to http://localhost:3000

Endpoints:

  • '/character/:name' - Returns an EJS view with data about the given character.

  • '/characters' - Returns raw JSON of 50 characters. This endpoint takes a query parameter in the URL called 'sort', sort parameters are: *name *mass *height

    *Ex: '/characters?sort=height'

  • '/planetresidents' - Returns raw JSON in the form {planetName1: [characterName1, characterName2], planetName2: [characterName3]}.

About

Grow test for Swapi

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages