Giter Club home page Giter Club logo

angular-express-seed's People

Contributors

btford avatar maxdow avatar zachwood 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  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

angular-express-seed's Issues

body-parser deprecated/body-parser deprecated undefined extended

The bodyParser constructor has been deprecated.
Console message:
body-parser deprecated bodyParser: use individual json/urlencoded middlewares app.js:28:9
body-parser deprecated undefined extended: provide extended option node_modules/body-parser/index.js:85:29

How about some testing love

Just learning angular - through yeoman, would love to help make this seed more like that:

  • Testing with testacular
  • Minification/concatenation from the connect/express directly
  • liveReload

If we can discuss the path forward, I'd love to help...
Maybe it would be best to add to the yeoman angular generators directly ??

Error while running app.js

I am new to nodejs+express stack. Trying to learn it using your project as a templated. I see following error despite installting connect package seperately. Can you please guide where is the issue.

C:\Users\m\Desktop\node\angular-express-seed-master>node app.js
body-parser deprecated bodyParser: use individual json/urlencoded middlewares ap
p.js:28:9
body-parser deprecated urlencoded: explicitly specify "extended: true" for exten
ded parsing node_modules\body-parser\index.js:74:29

Error: Most middleware (like errorHandler) is no longer bundled with Express and
must be installed separately. Please see https://github.com/senchalabs/connect#
middleware.
at Function.Object.defineProperty.get (C:\Users\m\Desktop\node\angular-
express-seed-master\node_modules\express\lib\express.js:89:13)
at Object. (C:\Users\m\Desktop\node\angular-express-seed-mas
ter\app.js:36:19)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3

just a question

Hi,

Nice work, this is interesting stuff.

I'm working on my own Express4 + AngularJS seed, sprinkling in some Browserify and Grunt config stuff --- I prefer to write in CoffeeScript and Jade but CSS vanilla---.

I noticed with the way you do routing, it appears that every change in Angular view requires that your Express server serve that partial remotely ( res.render('partials/' + name); ) . So the entire app is not loaded initially. In some way you've taken the client-heavy SinglePage app and split back into a server-heavy phenom, what with every view coming from the server via render.

My question is 'am I missing something ?' or 'do I have it about right.' My knowledge of the inner workings of Express is not flawless, and it occured to me some other possibilities like maybe all the templates in /views directory could theoretically be compiled and sent over on initial page load-- (I don't think that's what happens but haven't actually checked).

At any rate it seems a bit strange not to allow for a genuine single-page-app client-heavy build with the routing handled on the client side, by AngularJS, and not by Express. Express should (opinion mine) route amongst various single-page-apps of the developers system/eco-system...

Regards,
wjk

MODULE_NOT_FOUND

Cannot find module '../build/Release/bson'] code: '

js-bson: Failed to load c++ bson extension, using pure JS version

Update to latest angular-seed version

I know this project hasn't been updated in some time now, but I was wondering if it was likely to get an update using the latest version of the angular-seed project?

It now has both E2E tests and unit tests included by default and the directory structure has changed around a bit.

Using this with socket.io

Hi,

I was trying to hook this up with socket.io, but I'm not sure how to do it.

As far I as can read from Express - Migrating from 2.x to 3.x it instucts me to do it like this:

var app = express() , http = require('http') , server = http.createServer(app) , io = require('socket.io').listen(server); server.listen(3000);

But angular-express-seed somehow merges the app and server variable together. How would I go about extracting the server from the app-variable to be able to use socket.io with this?

Best regards
Brian

new Repo

We have seen that this repo is not working anymore with the new packages such as express 4 and pug. I created a similar repo with some enhancements, and wondering if we can reference it here

express-mongoose-angular1-seed

Express cassandra connection

what is the best practice to connect express with cassandra and how to have a separate dao layer with cassandra. Also, how do i pass result of the query back to the function in express. Plz help.

Dynamic page titles

Is there an easy way to dynamically modify the page title in the HTML header depending on what page/ng-view/partial is loaded?

app.js vs app.js

Hello BtFord!
I worked a lot with your seed/skeleton projekt. It is really great. Thank you for providing it. Just one feedback from the point of view of a learner: You have two app.js files on your projekt. One is the express server (backend) and the other one is the angularJS (frontend) single page application. You should rename the first one to something like server.js so that others don't get confused as I did.

Information about prerequisites in the readme

Hi,

First of all: Thanks for this! I was in the midst of building this sort of thing myself (because I needed it, and yeoman isn't offering express generators - which it probably is right about leaving out) but then I found this, saw your name on it and though; "well, this outta do it".

My issue:
Maybe it's me being new to expressJS and all this, but I thought this might help other newbies as well. The "How to use angular-express-seed" only says "Clone the angular-express-seed repository and start hacking!", but if you only do this and run node app.js you'll end up missing express, jade (and maybe even other things)

You might say that people looking for a seed like this, already have these things installed if, but again; it could probably help newbies if the installation prerequisites were described as well. All in all it's a judgement call, but these were just my 5 cents.

Now, I'm off to hack at this - can't wait :-) ! Please let me know if you need help working on this in any way.

Best regards
Brian

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.