Giter Site home page Giter Site logo

angular-codeigniter-seed's Introduction

Build Status Code Coverage

angular-codeigniter-seed

Features

  • Single-page application (AngularJS)
  • Responsive (Bootstrap 3)
  • Multi-language
  • User manager
  • Role-based ACL

Requires

mcrypt

sudo apt-get install php5-mcrypt
sudo php5enmod mcrypt
sudo service apache2 restart

Installation

php api/index.php cli install
php api/index.php cli add administrator [email protected] password123

angular-codeigniter-seed's People

Contributors

fwarren avatar scrutinizer-auto-fixer 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-codeigniter-seed's Issues

Not loging in or registering or storing tokens

Hey rmcdaniel nice code man, i got to working almost, i have the database and the tables populated also i am getting json response correct from the rest controllers to angular frontend but it just keep showing error even when the data.success is true....... please point me to the right direction what am i missing thats all......
capt2ure

about jwt duration

hi,
just a question about JWT. Context is an angular webapp (in Ionic for example) and a CI API server.
is it safe to never expires the token ? What are best practices ?
Thanks

A PHP Error was encountered -Error during Login

Hi, The code is working but when I am tring to login its returning status true means it success but with issue this below as well. Please help me why is that so ?

A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 257

{"status":true,"email":"[email protected]","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjEifQ.IsWkez9DuDRnxzSsgkW418QgdP6vr9Z3qvIHTfaK5Ss"}}]}

How to find Database?

Firstly Thank you very much for sharing this.

Could you please let me know where I can find Database for running application properly.

This is awesome! Can't get it to work though?

Hey there!

I really like the idea of this as I was looking for a way on combining codeigniter with angularjs and using json web tokens!

When I place the repo files in public_html the angular app itself seems to work but when I make requests to the server I get a 404 message. Would you be able to point me in the right direction to get the calls to codeigniter working?

Pre-rendering pages on server side for SEO

Hi, Awesome seed project, got started in no time!

I'm trying to add SEO to my app.
I'm using ui-router-metatags to have dynamic meta-tags on every page but the problem is that only Chrome's crawler runs javascript and waits for the DOM to load when it indexes pages, all the others(facebook, tweeter etc) don't, and they take the html as is.

There are a lot of paid services that pre-render the angular pages and cache them for when the crawler comes, but i don't want to pay, and i don't need the volumes that they offer (seo4ajax, brombone, prerender.io etc).

So i'm thinking in the direction of rendering some pages(don't have to be all of them) on the server and serving them as ready HTML.

Any idea how i would start doing that with this seed?

here is a sample from my routing if that would help:

.state('audio', {
    url: "/audio/:songTitle",
    templateUrl: root + 'templ/audio',
    controller: 'audioController as audio',
    resolve: {
        songTitle: function ($stateParams) {
            return $stateParams.songTitle;
        }
    },
    metaTags: {
        title: function (songTitle) {
            return songTitle;
        },
        //TODO: add dynamic description
        description: 'song desc',
        properties: {
            'og:title': function (songTitle) {
                return songTitle;
            },
            'og:type': 'audio',
            //TODO: add dynamic description
            'og:description': 'song desc',
            'og:image': root + 'images/logo.png'
        }
    }
})

upgrading the CI

hi there,

its already aug 2018, would you like to update the codeigniter into latest version?
it seems so many of developers that might look for the update as well
thanks in advance

best regards

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.