Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 863 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 863 Bytes

example-frontend-classic-js

An very basic example frontend for Vega implemented as a classic Node.js web app without any fancy stuff.

The idea is to provide a simple codebase where only basic knowledge to Javascript and HTML is needed to customize and get a journal up and running in no time.

Built on

  • Node 6.5
  • Express server
  • Templating with HTML-like Handlebars
  • Styling with PostCSS / PostCSS Next
  • Plain Javascript for the browser/client without any bundling and transforms.
  • ESLint for code quality control

Advanced users would probably want something like React, Browserify/Webpack, Babel etc, but this example will keep it as simple as possible.

Get going

  • npm install
  • Edit src/config.js (see src/config-example.js for a template)
  • npm run develop to start a development server.
  • Go to http://localhost:3000