Creating Data
Learn core database concepts, and store data independent from your applications
create-film.js
let nedb = require('nedb');
// Create new database file & connect
let filmsDb = new nedb({ filename: 'films.db', autoload: true });
// Insert the film
filmsDb.insert({ imdb: 'tt3521164', name: 'Moana' });
Need help? Have questions? Join the Vonage Developer Community Slack and use the channel #onehack.