Angular Sailsjs Boilerplate

screenshot of Angular Sailsjs Boilerplate
angular

Angular Sailsjs Boilerplate

'Boilerplate' for AngularJS + Sails.js

Overview:

The 'Boilerplate' for AngularJS + Sails.js is an example application that provides a fully separated back- and frontend development structure for modern web applications. It aims to provide a real starting point for new applications by showcasing the power of AngularJS and WebSockets. The backend side of the application is built with Sails.js and the frontend side utilizes the slush-angular library.

Features:

  • Separate back- and frontend development
  • Authentication with backend using multiple methods
  • Utilizes AngularJS and WebSockets
  • Provides simple examples for using these technologies
  • Has a clear directory structure with separate repositories for the backend and frontend

Installation:

  1. Install npm and node.js on your computer (instructions can be found here)
  2. Install bower, gulp, and sails main packages using the following commands in your terminal:
    npm install -g bower
    npm install -g gulp
    npm install -g sails
    
  3. Download or clone the project repository to your computer
  4. Open your terminal and navigate to the directory where you downloaded or cloned the repository
  5. Run the following command to install the necessary packages for both the back- and frontend:
    npm install
    
  6. If the previous step didn't work, you can try initializing back- and frontend submodules with the following command:
    git submodule update --init --recursive
    
  7. You may also need to run the npm install command separately in the backend and frontend directories.

Summary:

The 'Boilerplate' for AngularJS + Sails.js is an example application that provides a starting point for modern web applications with separated back- and frontend development. It showcases the power of AngularJS and WebSockets and offers simple examples for using these technologies. With a clear directory structure and separate repositories for the backend and frontend, it is easy to get started with building new applications. The installation process requires npm, node.js, bower, gulp, and sails to be installed, and the project codes can be downloaded from the provided repositories.

angular
Angular

Angular is a TypeScript-based open-source framework by Google for building dynamic single-page applications and cross-platform mobile apps with MVC architecture and a rich set of features.