Giter VIP home page Giter VIP logo

trongate-framework's Introduction

For best results, it's HIGHLY recommended to use the Trongate Desktop App, which is available at https://trongate.io.

If - for some reason - you'd like to use the Trongate framework without the desktop app AND you'd like to use the API manager then you'll need to set up a mySQL database. Here's a dump of some SQL code that will get you started with API authentication:

START

-- phpMyAdmin SQL Dump -- version 4.7.9 -- https://www.phpmyadmin.net/

-- Host: localhost -- Generation Time: Aug 13, 2019 at 08:25 PM -- Server version: 10.1.31-MariaDB -- PHP Version: 7.0.28

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00";

-- -- Database: a3


-- -- Table structure for table comments

CREATE TABLE IF NOT EXISTS comments ( id int(11) NOT NULL AUTO_INCREMENT, comment text NOT NULL, date_created int(11) NOT NULL DEFAULT '0', user_id int(11) NOT NULL, target_table varchar(125) NOT NULL, update_id int(11) NOT NULL, code varchar(6) NOT NULL DEFAULT '', PRIMARY KEY (id) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;


-- -- Table structure for table trongate_tokens

CREATE TABLE IF NOT EXISTS trongate_tokens ( id int(11) NOT NULL AUTO_INCREMENT, token varchar(125) NOT NULL, user_id int(11) NOT NULL DEFAULT '0', expiry_date int(11) NOT NULL, code varchar(3) NOT NULL DEFAULT '0', PRIMARY KEY (id) ) ENGINE=InnoDB AUTO_INCREMENT=2240 DEFAULT CHARSET=utf8;


-- -- Table structure for table trongate_users

CREATE TABLE IF NOT EXISTS trongate_users ( id int(11) NOT NULL AUTO_INCREMENT, code varchar(32) DEFAULT NULL, user_level_id int(11) NOT NULL DEFAULT '0', PRIMARY KEY (id) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

-- -- Dumping data for table trongate_users

INSERT INTO trongate_users (id, code, user_level_id) VALUES (1, 'UVsY8ASG5evncc4U6trru2XH5Tbq7MU5', 1);


-- -- Table structure for table trongate_user_levels

CREATE TABLE IF NOT EXISTS trongate_user_levels ( id int(11) NOT NULL AUTO_INCREMENT, level_title varchar(125) NOT NULL DEFAULT '', PRIMARY KEY (id) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

-- -- Dumping data for table trongate_user_levels

INSERT INTO trongate_user_levels (id, level_title) VALUES (1, 'admin'); COMMIT;

END

trongate-framework's People

Contributors

trongate avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.