GithubHelp home page GithubHelp logo

sunnysun1027 / angular-weather Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 343 KB

🌦用[email protected]制作的天气web app

Home Page: http://juniortour.net:4201/

JavaScript 25.26% TypeScript 16.79% HTML 2.71% CSS 55.24%

angular-weather's Introduction

Angular-Weather

这是一个用[email protected]制作的天气类web app。

天气数据的接口用了"肥肠不友好的"免费版心知天气API

另外还搭建了一个简单的node后端服务器来解决请求数据时的前端跨域问题,即./cross-origin-server.js

天气动画特效借鉴自:https://codepen.io/EvanWieland/pen/PwOKLE

点击访问预览:Angular-Weather

手机扫一扫预览:

angular-weather-qr-code.png

图片预览

angular-weather

To-do

  1. 环境配置
  2. 考虑使用Observable.zip
  3. ......

本地启动方法:

git clone https://github.com/JuniorTour/angular-weather.git

cd angular-weather

cnpm i

npm run CSOR-API // 开发环境下启动跨域服务器后,可以通过localhost:3001获取转发的数据。

ng s  // 开发环境下以 angular-cli 在 localhost:4201 启动

npm run build-prod  // 生产环境打包

npm run prod  // 生产环境下编译打包后在 localhost:4201 启动

欢迎各种交流~~~

angular-weather's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.