@cogent-labs/pagebuilder-api
v1.0.1
Published
This is the API server for the PageBuilder application.
Downloads
2
Readme
PageBuilder API
This is the API server for the PageBuilder application.
Usage
// Set the env var DATABASE_URL
$ export DATABASE_URL='mysql://<username>:<password>@<hostname>:<port>/<database>
// for development (restarts on code changes)
$ npm run start:dev
// for production
$ npm start
Testing
// test one time
$ npm test
// TDD (watches for code changes)
$ npm run test:tdd