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.
- 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.
npm install
- Edit
src/config.js
(seesrc/config-example.js
for a template) npm run develop
to start a development server.- Go to
http://localhost:3000