Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Basic Document API

Table of contents

Introduction

This sample program demonstrates how to use the NosDB API for performing CRUD operations. It shows how to initialize the database instance and Insert, Get, Update and Delete a document from NosDB.

Note: If you are unfamiliar with Git and GitHub, you can download the entire collection as a ZIP file.

Prerequisites

Before the sample application is executed make sure that:

  • Connection string in configuration.js is correct. For example, you need to provide correct database name and password.
  • NosDB Distributor Service (NosDistributorSvc) is running

Build and run the sample

Before starting the sample follow these steps:

  1. Install node.js
  2. Install npm.
  3. Northwind sample data has been imported as explained in [BaseDir]\data\json\README.md.
  4. Make sure that all NosDB services are running including Distributor Service (NosDistributorSvc).
  5. Use "npm install" command to install dependencies for Node.js sample. Make sure that path of dependencies is correct in 'package.json'.

You are ready to start the sample application.

Additional Resources

Documentation

The complete online documentation for NosDB is available at: http://www.alachisoft.com/resources/docs/#nosdb

Programmers' Guide

The complete programmers guide of NosDB is available at: http://www.alachisoft.com/resources/docs/nosdb/nosdb-programmers-guide.pdf

Technical Support

Alachisoft © provides various sources of technical support.

Copyrights

© Copyright 2017 Alachisoft.