Coder Social home page Coder Social logo

fabiangosebrink / foodchooser-aspnet-angular-cross-platform Goto Github PK

View Code? Open in Web Editor NEW
39.0 8.0 14.0 11.47 MB

Cross Platform Application for Demo with Angular & ASP.NET WebAPI

Home Page: http://offering.solutions/blog/articles/2016/04/19/angular-asp-net-webapi-azure-cordova-cross-platform-2/

HTML 10.70% TypeScript 31.11% JavaScript 4.51% CSS 1.08% C# 52.60%
webpack aot-compilation treeshaking cordova angular cross-platform aspnet typescript lazy-loading

foodchooser-aspnet-angular-cross-platform's Introduction

ASP.NET // Webpack // Angular // Typescript // Ahead of Time (AoT) // TreeShaking // Cordova // Electron // Cross Platform - Project "Foodchooser"

Get the Android SDK here Android SDK
Get the Windows SDK here Windows SDK

Make sure you have installed
Typescript compiler: tsc -v = Version 1.8.10
Npm: npm -v = 2.15.1
Node node -v = v4.4.4
Cordova: cordova -v = 6.1.1

Blogposts

Angular, ASP.NET WebAPI, Azure & Cordova, Cross Platform โ€“ My Private Hackathon Part 1

Angular, ASP.NET WebAPI, Azure & Cordova, Cross Platform โ€“ My Private Hackathon Part 2

In this repository we have done an example app with

  • Angular
  • Electron
  • Cordova
  • Typescript
  • Bootstrap
  • Automapper
  • WebPack
  • ASP.NET WebAPI 2.2
  • Gulp.js
  • NPM
  • Azure

to make it cross platform, which means its working as an exe, as an app on phones and as a web application.

This is done with

  • Cordova (for the Apps)
  • Electron (for the exe)
  • Gulp (for the web application)
  • WebPack (for the web application)
  • ASP.NET WebAPI (for the backend)

Feel free to add gulp tasks as you want :)

This is the Angular 2 Version of the Foodchooser-Example. Find the Angular 1 Version here: Angular1 Version

Start

Navigate to the "Client"-Folder and type in

npm install

and

tsc

to install all dependencies and run

npm start

and browse to "localhost:8080" to start the application.

Alternativtext

If you want to start right ahead with the gulp tasks listed below just make sure you ran the

tsc
command in the client folder first.

Cross Platform

Cordova

In the client folder on level of the package.json type

npm run create:apps

Electron

In the client folder on level of the package.json type

npm run create:desktop

Web

In the client folder on level of the package.json type

npm run create:web

Web & Apps & Desktop

In the client folder on level of the package.json type

npm run create:all

A .dist-Folder will be created containing all outputs.

Alternativtext

#Screenshots

Cordova-Project in Visual Studio

Alternativtext

Windows 8.1 App

Alternativtext

Windows 10 Mobile (old design)

Alternativtext

Android (with the new design)

Alternativtext

Windows 10

Alternativtext

Executable (Electron - with the new design)

Alternativtext

Web

Alternativtext

foodchooser-aspnet-angular-cross-platform's People

Contributors

fabiangosebrink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

foodchooser-aspnet-angular-cross-platform's Issues

verbose stack Error: missing script: create:all

miss file? I got this error in Windows PowerShell.

In the client folder on level of the package.json type
npm run create:apps
npm run create:desktop
npm run create:web
npm run create:all

Wrong typo and Module build failed

I found wrong typo in some file, I have fixed it but when I run gulp build command, the console log print this "Module build failed: ReferenceError: Promise is not defined ".

Could you fix it and push again.
Thanks.

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.