Skip to content

☀️⚡☔ Proof of concept of Google Geocode and Forecast IO APIs. Get the tempeture and its sensation in real time.

License

Notifications You must be signed in to change notification settings

thiagoblima/weather-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

Tiny and simple Nodejs TypeScript command line tool for weather app.

Getting Started

This app is a Nodejs TypeScript version of Andrew Mead's Nodejs ES6 WeatherApp.

On this version it enhances the back-end architecture, once it takes OOP architecture along side TypeScript and ES6 and 7 features, this project is taking the great advantage of working with TypeScript on the back-end with Nodejs.

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

Nodejs, NPM, TypeScript, GitBash or Linux command line interface, VSCode or your preferred Code Editor - Latest 

Building process

It's an example object you should have in order to make the sensitive information hidden over the .gitkeep directory, environments.

import { BuildDevEntity } from '../entities/build.interface';
 
export class BuildDev implements BuildDevEntity {
    public apikeys;
    constructor({...apikeys}) {
        this.apikeys = {
            googleAPIURL: 'https://maps.googleapis.com/maps/api/geocode/',
            googleAPIKey: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
            forecastIOURL: 'https://api.darksky.net/forecast/',
            forecastIOKey: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
        } || apikeys;
    }
}

Installing

A step by step series of examples that tell you how to get a development env running

Say what the step will be

npm run init-project

Running the tests

More to be explored soon.

Break down into end to end tests

More to be explored soon.

And coding style tests

More to be explored soon.

Deployment

more to be explored soon.

Built With

  • TypeScript - TypeScript language
  • Nodejs - Main environment platform
  • NPM - Dependency Management
  • Yargs - Interactive command line tools

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use Gitlab for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Used by great companies for grea commannd line tools
  • Making better tools for the best user experience
  • With love

About

☀️⚡☔ Proof of concept of Google Geocode and Forecast IO APIs. Get the tempeture and its sensation in real time.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published