Giter Club home page Giter Club logo

swift-fs-china's Introduction

SwiftFS China

截图


项目概述

  • 一个运行在SwiftWeb上的基于Perfect的BBS系统。
  • 主要页面直接采用了ruby on china的样式
  • 采用的MySQL,文件本地存储
  • 本项目只是骨架,未完全完成。

运行环境

  • Swift 4
  • Mysql 5.76+ (最新版即可)

安装

第一部分

在mac
  1. 需要安装Xcode9
  2. Swift 4.0+
在linux
  1. 需要安装语言环境
  2. 可参考 perfectvapor 官网
  3. 本项目在Linux直接使用 vapor (Install Toolbox)[https://docs.vapor.codes/2.0/getting-started/toolbox/]
  4. 执行swift build 或 vpaor build 时会提示 未安装的环境,按提示安装即可

第二部分

  • 安装redis
  • 将仓库中提供的SQL文件导入
  • 修改文件目录下PerfectChina/ApplicationConfiguration 配置信息,有数据库连接,白名单等
  • webroot/avatar 为图片本地地址
  • 日志输出在更目录 ./webLog.log"

TODO

  • 用户相关
    • 用户注册
    • 用户登录
    • 用户退出登录
    • 找回密码
    • 邮箱验证
    • github登录
    • 个人主页
    • 个人资料修改
    • 修改密码
    • 用户关注
    • 通知阅读
    • 图片上传
    • 通知单条删除和全部删除
  • 后台系统 打算用 antdesign or next.js?
    • 管理用户
    • 管理帖子
    • 管理评论
  • GraphQL接口
  • Build & CI
    • MakeFile
    • Docker
  • 其他
    • 全文索引
    • ajax改成模板渲染
    • 优化UI
    • openresty
    • redis

License

MIT

swift-fs-china's People

Contributors

kuhippo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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