Code Monkey home page Code Monkey logo

pikashop-parent's Introduction

PiKa 商城

Java AngularJS Starts License

项目基于Dubbo开发的B2B2C网上商城,模拟京东商城的业务原型,分模块开发,主要分为网站前台、运营商后台、商家管理后台三个子系统。

技术栈

  • DubboX
    • Zookeeper
  • AngularJS
    • AdminLTE
    • pagination
    • select2
    • kindeditor
  • Database
    • MySQL
    • MyBatis

项目结构

pikashop-parent 项目主结构
|---- pikashop-auto-generator  Mybatis自动生成代码
|---- pikashop-auto-insert     数据插入Solr  
|---- pikashop-basic-common    通用逻辑
|---- pikashop-basic-dao       数据访问层,Mapper
|---- pikashop-basic-entity    模型
|---- pikashop-basic-interface 接口
|---- pikashop-basic-service   接口实现
|---- pikashop-management      运营商管理后台
|---- pikashop-seller          商家管理后台
|---- pikashop-website-portal  网站前台
|---- share                    其他文件
|      |----  sql         SQL文件

快速开始

  1. 数据库

    • 数据插入,数据库文件位于share/sql
    • 数据库连接,在basic-dao项目下的resources目录中,有配置文件database.properties,其中定义了数据库的基本参数
    jdbc.password=root
    jdbc.driver=com.mysql.jdbc.Driver
    jdbc.url=jdbc:mysql://192.168.99.100:3306/pikashop```
    
    
  2. Zookeeper

    • 修改如下配置<dubbo:registry address="zookeeper://192.168.99.100:2181"/>
      • 修改pikashop-basic-service配置文件application-service.xml
      • 修改pikashop-management配置文件application-manage.xml
      • 修改pikashop-seller配置文件application-web.xml
      • 修改pikashop-website-portal配置文件application-web.xml
  3. 先启动pikashop-basic-service,必须首先启动,其他项目依赖其服务。

  4. 启动pikashop-management就可以访问http://localhost:8100

  5. 启动pikashop-seller就可以访问http://localhost:8200

  6. 启动pikashop-website-portal就可以访问http://localhost:8300

pikashop-parent's People

Contributors

cj96248 avatar mapull avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pzzy2000

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.