Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including vapid-cli with all npm packages installed. Try it out:

vapid-cli lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("vapid-cli/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

vapid-cli v0.3.5

A template-driven content management system

Vapid logo

Vapid is an intentionally simple content management system built on the idea that you can create a custom dashboard without ever leaving the HTML.

CircleCI

Installation

Vapid requires node v8.9.0 or higher, and can be installed via npm

npm install -g vapid-cli

Note: A desktop GUI application is coming soon—please add yourself to the mailing list if you'd like to be notified when that is available.

Usage

To create a new website project, use the Vapid command line tool:

vapid new path/to/project/folder

Then change to the project directory, and start the development server. By default, the server will livereload, and refresh your website as you change the source files.

cd path/to/project/folder
vapid start .

A few files and folders you should be aware of:

File/FolderDescription
wwwYour website files. Anything you put in here is an accessible resource, with the exceptions of files that start with underscores or periods—those are private/special. Sass and JS files that have the .pack.js, .pack.scss, or .pack.sass extensions will be compiled by Webpack.
dataSQLite database file, and uploaded images. In general, you do not want to mess with this folder.
node_modulesThis one should also be ignored.
package.jsonInformation about your project, including Vapid configuration options.
.envA private file that contains server environment variables, like the SECRET_KEY used by the web server.

Deploying

Vapid can be deployed to any hosting service that supports Node.js. Here are a few to consider:

ServiceNotes
VapidZero-config service that can be accessed via the vapid deploy command. Note: it is currently in private beta.
HerokuFree or paid tiers. One thing to note is that Heroku's file system is ephemeral, so Vapid's type=image directives won't work here.
GlitchThe easiest way to take Vapid for a test-drive.

Community

If you'd like to get involved, and help improve Vapid:

License

MIT

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free