• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

I Like Kill Nerds

The blog of Australian Front End / Aurelia Javascript Developer & brewing aficionado Dwayne Charrington // Aurelia.io Core Team member.

  • Home
  • Aurelia 2
  • Aurelia 1
  • About
  • Aurelia 2 Consulting/Freelance Work

Aurelia Starter Node Skeleton

Aurelia 1 · February 22, 2016

I have been working with Aurelia and Node for a while now and recently I took the time to properly create an Aurelia Node.js starter skeleton and put it up on Github here.

While getting Node.js to work with Aurelia is not exactly difficult, this is more of a time saving convenience. I have seen other solutions, but they feel a little hacky and structurally confusing. I adopted a Meteor approach in that all client logic is handled in the client folder and Node.js server logic is in the server folder.

Using Express and a couple of other dependencies, we have a basic Node.js server running. There is no integration with any database dependencies or anything, but if the demand is there I might create MongoDB and Sequelize versions of the starter for database integration.

The main index.html file you might be used too from the Skeleton has been moved into server/views/index.html — everything else is handled by the Aurelia Router and dependency injection layer inside of the client folder. The client folder replicates the structure you might be used too with the standard skeleton.

The instructions for installing client and server dependencies is listed in the repository README.md file and should be pretty self-explanatory. If you have any issues or questions preferably post them in the Github repository so I can properly triage and address.

Dwayne

Leave a Reply Cancel reply

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Erik
Erik
6 years ago

Only issue I saw when I tried to pull and build is you need to replace “dist” with “src”. Otherwise awesome skeleton!

0

Primary Sidebar

Popular

  • Testing Event Listeners In Jest (Without Using A Library)
  • How To Get The Hash of A File In Node.js
  • How To Mock uuid In Jest
  • Which Neural DSP Archetype Plugins Should You Buy?
  • How to Copy Files Using the Copy Webpack Plugin (without copying the entire folder structure)
  • Removing A Character From The Start/End of a String In Javascript
  • How To Convert FormData To JSON Object
  • How To Correctly Use Semantic HTML5 <article>, <main> and <section> Tags
  • Wild Natural Deodorant Review
  • How to Use Neural DSP Archetype Plugins With the Quad Cortex

Recent Comments

  • Thebe on How to Remove the My Sites Menu From the WordPress Admin Bar
  • Maccas worker jn the 2000s on Dear McDonald’s: bring back the Warm Cookie Sundae, you cowards
  • Anamika Singh on Testing Event Listeners In Jest (Without Using A Library)
  • Stefan on A List of WordPress Gutenberg Core Blocks
  • pandammonium on A List of WordPress Gutenberg Core Blocks

Copyright © 2022 · Dwayne Charrington · Log in

wpDiscuz