GithubHelp home page GithubHelp logo

kjellski / webapi-angularjs-spa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marlabsinc/webapi-angularjs-spa

0.0 1.0 0.0 17.48 MB

A reference app for building single page apps (SPA) with ASP.NET Web API 2 and AngularJS

License: MIT License

webapi-angularjs-spa's Introduction

WebApi-AngularJS-Spa v1.1.0

alt text

A reference app for building single page apps (SPA) with ASP.NET Web API 2 and AngularJS, developed by Marlabs

Technologies

Server-Side

  • ASP.NET Web API 2
  • EF 6 Code First
  • AutoMapper
  • Autofac

Client-Side

  • AngularJS
  • Semantic UI
  • Gulp.js

Building the application

Visual Studio

  1. Build the solution to install Nuget packages.(This will automatically restore Nuget packages. Please ensure you have Nuget version 2.7 or higher)
  2. The Project ResourceMetada.API is configured to run using IIS Express.
  3. Before starting the Client Application (ResourceMetadata.Web), please ensure that the API project is running in IIS or IIS express.

Client-Side

  1. Config.js file at source/ResourceMetadata/ResourceMetadata.Web/Scripts/config.js holds the api url used by the Client application. Update this file to change the api url appropriately.
  2. If you haven't installed Node.js, download and install it from http://nodejs.org/
  3. Navigate to the directory of ResourceMetadata.Web project source/ResourceMetadata/ResourceMetadata.Web/ in command prompt.
  4. Run command npm install
  5. Execute gulp tasks
    1. Run command gulp build.
    2. In order to clean the destination files created by build task, run gulp cleanbuild.

Migrating from v1.0.0 to v1.1.0

If you are already using the Application version 1.0.0, please drop the database ResourceMetadata from your SQL server before running the Application

Current Features

  • REST API with ASP.NET Web API 2.
  • Server-Side security with ASP.NET Identity.
  • Single Page Application(SPA) with AngularJS.
  • AngularJS factory $resource for interacting with RESTful server-side data sources.
  • AngularJS $http interceptors.
  • AngularJS directives.
  • Task automation with Gulp.js

Roadmap Targets

  • Code refactoring.
  • Unit tests with Karma/Jasmine
  • Leverage Browserify
  • Performance optimizations and best prarctices for SPA.

webapi-angularjs-spa's People

Contributors

dileepcd avatar shijuvar avatar

Watchers

Kjellski 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.