Giter Site home page Giter Site logo

hiface's Introduction

HiFace

一个表情包制作和分享管理的网站

开发栈:

  • elementUI
  • VUE2
  • express
  • redis
  • mongodb
  • 七牛云接口

项目部分截图

主页

image

最新表情图列表

image

制作表情

image

发布-分享-最新表情更新

image

install

安装

一.下载更新项目

    git clone [email protected]:luoshilu/HiFace.git
    cd HiFace
    npm install
    npm run dev

    cd HiFace-web
    npm install
    node app.js

二. 安装redis

redis下载官网

三. 安装mongodb

mongodb官网

    安装成功访问后启动mongodb即可
    sudo /usr/bin/mongod --dbpath=/data/db -smallfiles --rest 

四. 修改配置文件

  • 用于发送验证信息的邮箱(conf/mail.js)

你需要在项目中设置一个邮箱,用于进行发送注册信息。

在router目录下的mailverify.js文件中, 补充下面的邮箱信息:

module.exports = {
    type: '邮箱service',// 比如qq邮箱service是qq
    mail: '(填写)你的邮箱',
    key: '(填写)你的邮箱POP协议密钥'
}
  • 七牛云token(conf/qiniuCnfig.js)

需要填写你的 Access Key 和 Secret Key

    qiniu.conf.ACCESS_KEY = 'Access Key';
    qiniu.conf.SECRET_KEY = 'Secret Key';
    qiniu.url = 'url';
  • mongodb(app.js)
    mongoose.connect('mongodb://localhost:27017');
  • redis(conf/redis.js)
    var rediz = require('redis')
    var redis = rediz.createClient({"host": "127.0.0.1", "port": "6379"});

仅供学习使用 by luo

hiface's People

Contributors

luoshilu avatar

Watchers

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