haxpor / loggie-server-node

Loggie Server-side NodeJS implementation working with SQLite database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

loggie-server-node

Loggie Server-side NodeJS implementation working with SQLite database.
On client side, look at loggie.js

Database Schemas

It's based on SQLite database with 2 tables

  1. mark table
    This table is used to authen and grant permission for a single user to be able to interact with timelog table or say be able to log time.

    It is created with following schema

    CREATE TABLE mark (udid char(40) PRIMARY KEY NOT NULL, ip_address TEXT NOT NULL, granted BOOLEAN);
    
  2. timelog table
    This table is for reading logged times, and updating times for various projects.

    It is created with following schema

    CREATE TABLE timelog (dtime_start DATETIME PRIMARY KEY NOT NULL, dtime_end DATETIME, project TEXT NOT NULL);
    

Misc

This project is based on basejit

License

This project is licensed under MIT

About

Loggie Server-side NodeJS implementation working with SQLite database

License:MIT License


Languages

Language:JavaScript 89.2%Language:HTML 10.8%