Skip to content

vtiinanen/sda-implementation

Repository files navigation

NodeJS API for solita names

The initial exercise tasks are here: https://github.com/solita/dev-academy-2021

This express application works as RESTful api

There is an instance deployed to heroku, which allows you to test paths in browser.

https://sda-implementation.herokuapp.com/

1. List names and amounts, order by amount, most popular first

  • GET /names?sort=amount

2. List names in alphabetical order

  • GET /names?sort=alphabetical

3. Return the total amount of all the names

  • GET /names?aggregate=amount

4. Return the amount of the name given as a parameter

  • GET /names/Ville?key=amount

More could have been implemented (e.g. sorting order query), but the tasks requirements were very loose. I don't want to implement too much for nothing.

This is a good base for an express app in general.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published