/SampleSPA-SwapiApi

Sample for creating SPA Page Using Swapi API

Primary LanguageJavaScriptMIT LicenseMIT

SampleSPA-SwapiApi

Sample for creating SPA Page Using Swapi API http://swapi.co/

Preview

SPA Swapi API

Using technology

  • NodeJS and Expressjs for server routing
  • Jade for server templating
  • Angularjs framework
  • Bootstrap for CSS template
  • Grunt for Task Runner
  • API from http://swapi.co/

Installation

sudo npm install -g grunt-cli
  • Install depedency
sudo npm install
  • Run Task
grunt --verbose
  • Run project
npm start
  • Open in Browser
http://localhost:3000

Folder Structure

  • all code in src folder
  • app.js is main server js
  • folder routes is server side routing, provided by expressjs
  • folder views is html template with jade
  • all frontend code in folder public
  • folder public/angularjs is angularjs code
  • folder public/pages is angularjs view templating

Here you will learn about

Hope will usefull for you all.

Contact Me :

Email Website Facebook

Twitter Linkedin Slideshare