v_database
v0.1.8
Published
v_database is a small/basic database solution that utilizes filesystem to manipulate database
Downloads
17
Maintainers
Readme
🧾 V_Database - README.md
Description: Simple way to make data available in your website/application for a single database.
🚧 **WARNING: APPLICATION STILL IN 🧱 [ALPHA] ** 🚧
🚕 Install and Setting up
Currently only through the github repo can be installed... Run these commands in sequence to install:
// Install the dependency
npm i v_database --save
// Start node
node
// Load it into the console
const v_db = require('.');
// Trigger the install
await v_db.install();
Soon... 🚀
⚡ How to actually use it ?
here is an example code that is being used to export this example readme file in the fist place.
const v_database = require('v_database');
v_database.type.new('books'); // returns true if it created new type or false if it already exists or fails
v_database.type.new('links');
v_database.item.new('books', {name: 'book title text' , description : 'demo' });
v_database.item.new('links', {name: 'v-core9' , path : 'https://v-core9.com/' });
v_database.item.new('books', { id: 'sample_id', name: 'book title text' , description : 'demo' }); //Adding ID will try to use it as an ID
v_database.install() // trigger installation process
v_database.data_size() // returns the size of the data
v_database.purge_data() // removes all data from the database
📁 Project Folders Structure Info
Look into system folder for more info about project structure.
These are some important folders that are used when generating this document:
📁 __tests__ /
📁 __tests__ / v_database /
📁 __tests__ / v_lidator /
📁 _tDdata_ /
📁 _tDdata_ / _test-data /
📁 $_HELP_$ /
📁 $_HELP_$ / readme /
📁 v_database /
📁 v_database / config /
📁 v_database / config / version /
📁 v_database / helpers /
📁 v_database / info /
📁 v_database / item /
📁 v_database / modules /
📁 v_database / type /
📁 v_lidator /
📁 v_lidator / src /
📁 v_lidator / src / helpers /
📁 v_lidator / src / templates /
📁 v_lidator / src / user /
✅ Tests and Coverage with Jest
🔻 WARRNING: GENERATED FILE NOTICE 🔻
⛔ Any Edits Done To Generated Files Will Be Overwritten Next Time These Files Get Re-Generated!
Made 💖 using v_scrolls
Last Updated: 2021/12/19 13:40:26