Giter Club home page Giter Club logo

angular2-superadmin's Introduction

Angular2 Webpack SuperAdmin

Angular2 SuperAdmin with Webpack

Features

  • Webpack;
  • Oauth2 authentication flow;

Requirements

Install

Install the dependencies with npm install or sudo npm install.

Configuration

The auth configurations are located in the src/app/common/config-example.ts file. Since configurations may vary from local setup to production setup, to enable these you must do a cp src/app/common/config_example.ts config.ts first. The generated file will be your configuration file, and should never be commited back to the repo.

Adding packages

The package is setup so you can easily add external packages to your project, while making it easier to manage dependencies. Doing npm install <package-name> will add the package to the node_modules folder. You can browse for available packages through npm search page, and general documentation on bower in npmjs.com.

npm scripts

  • npm run start will run webpack-dev-server and serve your contents from memory only on http://127.0.0.1:3000. You are ready to start developing
  • npm run clean will clean the dist folder
  • npm run build

NOTE:

If you are having errors try deleting the node_modules folder and run npm install again.

Bunble your application and run it in the browser

  • Production / Staging

    • npm run build to bundle all your files to the /dist folder.
  • Development

    • Run npm install -g http-server or add it to your dependencies if you want it local.
    • npm run static and open your browser at http://127.0.0.1:8090/.

angular2-superadmin's People

Contributors

nmcpcj avatar cbalves avatar

Watchers

James Cloos avatar Simon avatar Koen Betsens avatar Rui Molefas avatar  avatar Délio Amaral 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.