Demonstration application for Flow which provides IP inferred location information and current weather or forecast (location based or queried by city name)
Application is running @ https://sheltered-earth-53915.herokuapp.com/v1
- run
npm install - make sure to be running Node v10.15.13
- to run tests
cp .env.example .envis enough - to try out the API create
.envfile and punch in your environment variables following.env.examplefile. - start the server and browse
http://localhost:PORT/v1/documentationfor the swagger docs!
npm run start: starts servernpm run test: runs linter and then tests (100% coverage)
dotenv: for loading.envfile containing sensitive information on to process environment variables.fastify: web framework APIgot: HTTP request APInock: HTTP mockinglodash: for helper functionseslint: linter tooleslint-config-google: base linter configtap: testing suitefastify-status: provides status endpointfastify-swagger: OpenAPI Specification plugin