Skip to content

wimoMisterX/wasantha-athukorala-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wasantha Athukorala Website

This is my first Mithirl SPA. Please be kind ;)

Directory Structure

package.json
index.js
src/
| |- templates/
| |- app/
| |- assets/
| | |- js/
| | |- css/
| | |- images/
config/
| |- default.json
| |- development.json
| |- production.json
  • src/app - App realated javascript files with an entry file for Browserify to modularise the files.
  • src/assets - Static files with each file in specific folder
  • src/templates - Required templates
  • index.js - Express server
  • config - configs

Setup

  1. Clone repo
  2. Install Node LST
  3. Install npm packages from package.json by npm install
  4. Start the server by npm start

NPM Commands

  • npm run watch - Live rebuilding javascript bundle
  • npm run build - Build javascript bundle
  • npm start - Starts the server at port 3000