Giter Club home page Giter Club logo

yunjia's Introduction

韵家商城

韵家网上商城是一个B2C商城,系统采用分布式架构开发,maven管理项目,子系统之间通过dubbo进行通信,前后端统一采用ajax+json异步交互,使用redis集群缓存数据,提高系统性能,使用solr作为搜索引。主要包括前台系统、后台系统、搜索系统、单点登录系统、购物车系统、订单系统六大模块。(前台系统、后台系统、搜索系统、单点登录系统已开发完成,购物车系统和订单系统正在开发中)。

源码:github


项目技术架构

  • Spring
  • Mybatis
  • SpringMVC
  • Nginx(反向代理和http图片服务器)
  • FastDFS(分布式文件系统,用于图片存储)
  • ActiveMQ(消息队列,同步solr索引库)
  • redis(缓存)
  • solr(搜索系统框架)
  • dubbo(系统间通信)

项目结构目录

  • yunjia-parent(父工程-版本管理)
    • yunjia-common(公共模块)
    • yunjia-manager(后台系统父工程)
      • yunjia-manager-pojo
      • yunjia-manager-dao
      • yunjia-manager-interface
      • yunjia-manager-service
    • yunjia-content(内容管理系统父工程)
      • yunjia-content-interface
      • yunjia-content-service
    • yunjia-search(搜索系统父工程)
      • yunjia-search-interface
      • yunjia-search-service
    • yunjia-portal-web(前台系统表现层)
    • yunjia-manager-web(后台系统表现层)
    • yunjia-sso(单点登录系统)
      • yunjia-sso-interface
      • yunjia-sso-service
    • yunjia-sso-web(单点登录系统表现层)
    • yunjia-item(商品详情系统)
      • yunjia-item-interface
      • yunjia-item-service
    • yunjia-item-web(商品详情系统表现层)

运行准备

该项目依赖的服务都搭建在同一台服务器,公网ip为47.100.214.167。

运行环境

项目运行需要有jdk环境,maven环境。

端口列表

project tomcat-port dubbo-port
yunjia-manager 8080 20880 hessian:20890
yunjia-manager-web 8081
yunjia-portal 8083
yunjia-content 8084 20881
yunjia-search 8085 20882
yunjia-search-web 8086
yunjia-item 8087 20883
yunjia-item-web 8088
yunjia-sso 8089 20880
yunjia-sso-web 8090 20880
注:如需修改可在各工程的pom.xml文件中修改。

集群端口

cluster ports
redis 6381-6386
solrcloud 8984-8987
zookeeper 2182-2184

运行步骤

  1. 打开eclipse->import->existing maven project,选择yunjia-parent导入。
  2. 选择项目,运行run as->maven build...。
  3. 输入clean tomcat7:run。
  4. 依次运行已开发完成的系统。(注:因项目使用的是dubbo微服务框架通信,采用异步通信,先启动表现层会报错,服务层启动完毕后可正常使用)。

yunjia's People

Contributors

chuishengzhang avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Forkers

hyx-jetbrains

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.