Skip to content
This repository has been archived by the owner on Jul 28, 2019. It is now read-only.

A simple template with Angular JS running through Express with Connect-Assets and a focus on Coffee Script for scripting, stylus for templating, and Stylus for stylesheets.

License

Notifications You must be signed in to change notification settings

kuetemeier/Node-Express-Angular-Coffee-Bootstrap

Repository files navigation

Archived

This project is archived and only stays here for your personal reference. Enjoy :-)

WARNING

This Repo is discontinued by me, because I now use Yeoman and LoopBack.

I am also working on a Yeoman generator for Angular, LoopBack and Bootstrap. You can find it here

If you want to continue this special template, feel free to fork it.

Setting up

Setup is a fairly straightforward task if you've ever used our particular blend of technologies before. If you haven't, you're in for a treat hopefully!

Fulfilling Installation requirements

You will need the following set up:

  • node.js
  • git
  • npm

Everything else is bundled with the application itself, or pulled in via npm.

Getting the Repository

If you have git:

git clone https://github.com/jkuetemeier/Node-Express-Angular-Coffee-Bootstrap.git

Then lets nagivate into the repo:

cd Node-Express-Angular-Coffee-Bootstrap

Pulling in Dependencies

Since we're in the root directory of the repo, we can tell npm to install all of the neccessary dependencies.

npm install

npm will read our package.json file to fetch everything we need.

For convienence, you should also install coffee-script globally:

sudo npm install -g coffee-script

Make a config

Due to security concerns, you should edit the configuration file as fast as possible, which contains all app-specific configuration details. Thankfully, it's easy to make your own!

In server/config/server-config.coffee:

module.exports = port: 4000, secret: 'test', cookieSecret: 'test'

Change 'test' to your own values.

Test it out

Lets test our installation by executing coffee app.coffee

$> coffee server.coffee
Express server listening on port 8080

Relax

You're done! Check back later for more exciting progress! Feel free to suggest improvements by opening an issue or submitting a pull request!

License

This project is licensed under the MIT license. Feel free to use it in your own projects (private, open-source or commercial).

Thanks

This Template was initially based on (forked from) the Hoverbear/Angular-Coffee-Express, which saved me a lot of time. Thank you Andrew Hobden for doing a great job.

Thanks the contributors to the following Open Source Technologies:

Markdown

stylus

... and others

  • coffee-script
  • jade
  • express
  • node.js
  • npm
  • angular.js
  • connect
  • git
  • linux

etc.

About

A simple template with Angular JS running through Express with Connect-Assets and a focus on Coffee Script for scripting, stylus for templating, and Stylus for stylesheets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages