Giter Site home page Giter Site logo

pronebel / xiaoduyu.com Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 54sword/xiaoduyu.com

0.0 1.0 0.0 13.3 MB

小度鱼,是基于 React + NodeJS + Express + MongoDB 开发的一个社区系统

Home Page: https://www.xiaoduyu.com

JavaScript 85.35% CSS 12.55% HTML 1.77% Shell 0.33%

xiaoduyu.com's Introduction

小度鱼(前端)

介绍

小度鱼,是基于 React + GraphQL + NodeJS + Express + MongoDB 开发的一个社区系统
线上站点:https://www.xiaoduyu.com
小度鱼

特点

  • 页面极度简洁
  • 单页面应用,前后端分离
  • 使用 React 服务器端渲染,首屏服务端渲染,且完美支持SEO
  • 按页面将代码分片,然后按需加载
  • 功能丰富,支持富文本编辑器,头像上传与裁剪,支持邮箱、微博、QQ注册登录,等等

本地部署

不保证 Windows 系统的兼容性

1. 安装 Node.js 大于8的版本 [必须]  
2. git clone [email protected]:54sword/xiaoduyu.com.git  
3. cd xiaoduyu.com  
4. npm install  
5. cp config/index.default.js config/index.js  
6. npm run start  
7. 访问 http://localhost:4000  
8. 完成

开发环境

npm run start

生产环境测试

npm run pro

部署到服务器

1、打包项目

npm run dist 

2、将 dist、package.json、package-lock.json 上传到服务器,然后执行如下命令,安装依赖包

npm install

3、启动服务

node ./dist/server/server.js

小度鱼相关开源项目

开源协议

MIT

xiaoduyu.com's People

Contributors

54sword avatar goldriver avatar

Watchers

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