Code Monkey home page Code Monkey logo

violin-bookmark's Introduction

プログラム紹介

violin-bookmark, a backend program to support for violin online edit function.

database

  • mongodb 基于B-树的文档数据库,各个节点上都存有数据,单次查询速度极快 dev 環境: cd "E:\Program Files\mongodb\bin" .\mongod --dbpath "E:\Program Files\mongodb\data\db"

    prod 环境: docker exec -it containerid /bin/sh mongo db.collection.find().pretty() db.collection.find({key1:value1}) db.collection.update( { "account" : "simple321vip" } , { $set : { "wikiName" : "guan"} } );

  • redis as a cache database, we use it to save token.

    // use redis-cli docker exec -it containerId /bin/sh cd /usr/local/bin/ redis-cli

    // set auth password config get requirepass config set requirepass 123456

    // 验证密码是否正确 auth 123456

    // 切换到指定的数据库 select 3

violin-bookmark's People

Contributors

simple321vip avatar

Watchers

James Cloos avatar  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.