https://github.com/lets00/ifood-backend-challenge
A micro-service to return Spotify playlist according to the current temperature (celsius) of city
https://github.com/lets00/ifood-backend-challenge
Last synced: 20 days ago
JSON representation
A micro-service to return Spotify playlist according to the current temperature (celsius) of city
- Host: GitHub
- URL: https://github.com/lets00/ifood-backend-challenge
- Owner: lets00
- License: mit
- Created: 2020-05-02T12:48:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T20:19:20.000Z (over 3 years ago)
- Last Synced: 2026-05-31T19:50:02.962Z (20 days ago)
- Language: JavaScript
- Size: 320 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ifood backend challenge
This project implements the [ifood backend challenge](https://github.com/ifood/vemproifood-backend). It creates a RESTful micro-service that receive as parameter either city name or lat long coordinates and return a Spotify playlist according to the celsius current temperature (See ifood challenge to know the business rules).
# Technologies
* nodejs
* hapijs (REST API)
* joi (Validator)
* axios (HTTP requests using Promises)
* dotenv (Charge environment variable)
* swagger (API Documentation)
# How to run
1- Install dependencies via npm cli:
```
$ npm i
```
2- Run server
```
$ node index.js
```
To verify how to use, please consult the [API documentation](http://localhost:3000/documentation) gennerated by Swagger.
# License
MIT