probablyArth / jason-engine

A full fledged database engine over json files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jason-engine

A full fledged database engine over json files.

Runtime

BunJS v1.1.3

Project Status - SPIKE

I have no idea how I am going to do this, but here we go. I have basic knowledge of how databases work internally and constantly learning as I go. Here is a simple(or complex (?)) implementation in typescript.

Why?

I created a basic type-safe ORM library for json files (here's a link to that) last year and published it to npm. However there were many more things I could add, and I have been getting more and more curious about how databases work every since I discussed indexes with one of my mentors and that led me implementing it in the library and it just made me more curious that I wanted to make it into a full-fledged database system.

Planned features

features marked with (?) are optional and will be figured out as we go

  • Transactions
  • ACID principles
  • Indexes
  • Authentication and Authorization (?)
  • sharding (?)

Also this is not an exhaustive list, as mentioned I'm figuring this out as I go.

About

A full fledged database engine over json files.


Languages

Language:TypeScript 81.8%Language:JavaScript 18.2%