{"version":1,"pages":[{"id":"-M5hodRZ80Q_1wblKriY","title":"Initial page","pathname":"/docs","siteSpaceId":"sitesp_NT2Iy","description":""},{"id":"-M5hoydlfV_J5r0WPb-4","title":"Introduction","pathname":"/docs/server/introduction","siteSpaceId":"sitesp_NT2Iy","description":"Adamite is a self hosted consolidated server that you're in complete control of.","breadcrumbs":[{"label":"Server"}]},{"id":"-M5mD35ZEITIaZ_ZHdr8","title":"Database","pathname":"/docs/server/database","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"Server"}]},{"id":"-M5mD6rwlZeANbKH4Yfn","title":"Configuration","pathname":"/docs/server/database/configuration","siteSpaceId":"sitesp_NT2Iy","description":"By default, Adamite will attempt to connect to a locally running RethinkDB instance on the default port of 28015. You can change this within the adamite.js config file.","breadcrumbs":[{"label":"Server"},{"label":"Database"}]},{"id":"-M5mDd6AqQbNbteEeSb1","title":"Using different adapters","pathname":"/docs/server/database/using-different-adapters","siteSpaceId":"sitesp_NT2Iy","description":"Adamite is designed to work with RethinkDB, but you can connect to virtually any database using different adapters.","breadcrumbs":[{"label":"Server"},{"label":"Database"}]},{"id":"-M5wGy47Y0nIF59AinX5","title":"Memory Adapter","pathname":"/docs/server/database/using-different-adapters/memory-adapter","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"Server"},{"label":"Database"},{"label":"Using different adapters"}]},{"id":"-M5mGfJNjZhZXweAT6LQ","title":"Securing your data","pathname":"/docs/server/database/securing-your-data","siteSpaceId":"sitesp_NT2Iy","description":"By default Adamite doesn't enforce security on the database. When you're ready to configure security, you can do so with database rules.","breadcrumbs":[{"label":"Server"},{"label":"Database"}]},{"id":"-M5mHnkdVZna4Wsh_cbX","title":"Securing read operations","pathname":"/docs/server/database/securing-your-data/securing-read-operations","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"Server"},{"label":"Database"},{"label":"Securing your data"}]},{"id":"-M5rbDYrRTDVCVMLptvk","title":"Functions","pathname":"/docs/server/functions","siteSpaceId":"sitesp_NT2Iy","description":"Adamite Functions can be used to add custom server side logic to your application that you can't accomplish through the base database access.","breadcrumbs":[{"label":"Server"}]},{"id":"-M5rcWFWR1_f0p2zy7wm","title":"Invokable Functions","pathname":"/docs/server/functions/invokable-functions","siteSpaceId":"sitesp_NT2Iy","description":"Invokable Functions can be called from the client at will. They can be passed arguments and can return a value.","breadcrumbs":[{"label":"Server"},{"label":"Functions"}]},{"id":"-M5rcmSIuZcwl3A9JMKx","title":"Runtime Functions","pathname":"/docs/server/functions/runtime-functions","siteSpaceId":"sitesp_NT2Iy","description":"Runtime Functions are executed when the server starts. These functions are useful for starting any additional servers your back-end might require, or to establish connections to other services.","breadcrumbs":[{"label":"Server"},{"label":"Functions"}]},{"id":"-M5rd3Phx9xXP3FB0fpW","title":"Scheduled Functions","pathname":"/docs/server/functions/scheduled-functions","siteSpaceId":"sitesp_NT2Iy","description":"Scheduled functions are invoked on a defined schedule using cron syntax.","breadcrumbs":[{"label":"Server"},{"label":"Functions"}]},{"id":"-M5hoilN4sNdq4hHtcXO","title":"Introduction","pathname":"/docs/sdk/introduction","siteSpaceId":"sitesp_NT2Iy","description":"Use the Adamite SDK to connect to your Adamite server.","breadcrumbs":[{"label":"SDK"}]},{"id":"-M5hsUCsHk2ND30e11nI","title":"Database","pathname":"/docs/sdk/database","siteSpaceId":"sitesp_NT2Iy","description":"Adamite database can be used to store the majority of your application's data. Data is represented as documents and collections of documents, and is replicated into RethinkDB.","breadcrumbs":[{"label":"SDK"}]},{"id":"-M5hsnbiBg3a4sk9YgmZ","title":"Introduction","pathname":"/docs/sdk/database/introduction","siteSpaceId":"sitesp_NT2Iy","description":"You can interact with data in the database by creating references to that data. You can reference an entire database, a collection within the database, or an individual document","breadcrumbs":[{"label":"SDK"},{"label":"Database"}]},{"id":"-M5hxK-IFSjtMKSWAQp0","title":"Read a document","pathname":"/docs/sdk/database/read-a-document","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"SDK"},{"label":"Database"}]},{"id":"-M5hy8FfUVKgoOjyhmql","title":"Read multiple documents","pathname":"/docs/sdk/database/read-multiple-documents","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"SDK"},{"label":"Database"}]},{"id":"-M5i-dKp0HUT8uAUgW89","title":"Subscribe to changes","pathname":"/docs/sdk/database/subscribe-to-changes","siteSpaceId":"sitesp_NT2Iy","description":"Adamite database is real time. You can subscribe to snapshots on a document or a collection and get notified when any changes are made.","breadcrumbs":[{"label":"SDK"},{"label":"Database"}]},{"id":"-M5htjdMGB849akiCLf6","title":"Create a new document","pathname":"/docs/sdk/database/create-new-documents","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"SDK"},{"label":"Database"}]},{"id":"-M5hutaTQ2Cy6swfdOsH","title":"Update an existing document","pathname":"/docs/sdk/database/update-an-existing-document","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"SDK"},{"label":"Database"}]},{"id":"-M5hvgtusIUVFeceKa8m","title":"Delete a document","pathname":"/docs/sdk/database/delete-a-document","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"SDK"},{"label":"Database"}]},{"id":"-M5i2AB0POzSc5ra4wnM","title":"Authentication","pathname":"/docs/sdk/authentication","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"SDK"}]},{"id":"-M5i2D0BtbDjncAXyhDO","title":"Create a user","pathname":"/docs/sdk/authentication/create-a-user","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"SDK"},{"label":"Authentication"}]},{"id":"-M5i3USKQDah-rKHZsIw","title":"Log in and log out","pathname":"/docs/sdk/authentication/log-in-and-log-out","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"SDK"},{"label":"Authentication"}]},{"id":"-M5i44GVbn7-VljUyPgP","title":"Get the logged in user","pathname":"/docs/sdk/authentication/get-the-logged-in-user","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"SDK"},{"label":"Authentication"}]},{"id":"-M5i4vZ4KNCb_rmG9Jko","title":"Functions","pathname":"/docs/sdk/functions","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"SDK"}]},{"id":"-M5i4xkXp1KeJbKCSM1K","title":"Invoke a function","pathname":"/docs/sdk/functions/invoke-a-function","siteSpaceId":"sitesp_NT2Iy","description":"","breadcrumbs":[{"label":"SDK"},{"label":"Functions"}]}]}