Giter Site home page Giter Site logo

ifocus-back's Introduction

ifocus-back

the back end of ifocus

这里存放ifocus项目的后端代码及其简单演示,并附有简短说明。

运行前

需要提前创建需要数据库及对应账号

创建数据库及表代码如下:

CREATE DATABASE ifocus;


CREATE TABLE `ifocus`.`user` ( `img` MEDIUMBLOB NULL DEFAULT NULL , `nickname` VARCHAR(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , `slogan` VARCHAR(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , `id` VARCHAR(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , UNIQUE `id` (`id`)) ENGINE = InnoDB;


CREATE TABLE `ifocus`.`livelist` ( `id` VARCHAR(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `livestream` VARCHAR(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL , `live_key` VARCHAR(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL , `start_time` TIMESTAMP on update CURRENT_TIMESTAMP NULL DEFAULT CURRENT_TIMESTAMP , `room_id` VARCHAR(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `live_state` INT(10) NOT NULL , UNIQUE `id` (`id`)) ENGINE = InnoDB;


CREATE TABLE `ifocus`.`rank_list` ( `id` VARCHAR(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `last_active_date` DATE NOT NULL , `time` VARCHAR(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `all_time` VARCHAR(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , UNIQUE `id` (`id`)) ENGINE = InnoDB;

所需账号

账号名: ifcocus 密码: ifocus

由于涉及网络通信,请保证运行时项目的根目录为http://localhost/ifocus-back/

如果需要修改上述内容,请参照./index.html的说明进行修改

ifocus-back's People

Contributors

wengsy150943 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.