Skip to content

v-checha/intership-test-easy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

JS developer task

Your task is to create new endpoint.

When you are done, you can either send a pull request to this repository with your solution or email your solution to HR manager.

You will then receive a detailed review of your code.

Good luck!

Endpoint

Country capital

Endpoint must return a capital of the provided country.

  • Method: GET
  • Endpoint: http://localhost:3000/capital
  • Query parameters:
    • country
  • Example of request and what should be returned:
    • GET http://localhost:3000/capital?country=latvia
    • Returned text: Capital of Latvia is Riga
  • Suggested modules to use:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published