Giter Site home page Giter Site logo

guidpts / base Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mcourser/base

0.0 0.0 0.0 111.92 MB

Web项目的基础部分,Angular加SpringBoot编写,实现了基于权限、角色、用户的基本系统和mpeg-dash格式的流媒体服务。

Java 100.00%

base's Introduction

介绍

这个项目整体上为一个Web项目的基础部分,分为前台后台两个部分。前台项目是由Angular编写,后台项目由SpringBoot及其它组件编写,主要分为两个服务:service-webWeb服务,为前台项目提供接口,处理业务流程,实现了基于权限、角色、用户的基本系统;service-static-resource是一个基本的静态资源服务,根据请求参数压缩图片的分辨率,提供音视频转码和mpeg-dash格式的流媒体服务,并支持动态码率。

目录结构

├── app
├── env
│   └── dev
├── server
│   ├── ffmpeg
│   │   ├── linux-x86_64
│   │   ├── macos-x86_64
│   │   └── windows-x86_64
│   ├── lib-commons
│   ├── lib-dao
│   ├── lib-model
│   ├── lib-service
│   ├── lib-static-resource
│   ├── service-static-resource
│   └── service-web
└── web

安装

依赖软件

JDK8 ,地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

vagrant,地址:https://www.vagrantup.com/

virtual box,地址:https://www.virtualbox.org/wiki/Downloads

nodejs ,地址:https://nodejs.org/zh-cn/

IDE

Eclipse推荐使用STS,地址:https://spring.io/tools/sts

WebStorm,地址:https://www.jetbrains.com/webstorm/

启动服务

cd Base/env/dev/
vagrant up

vagrant启动后会在它管理的linux镜像中部署好mysqlrabbitmqmysql默认为base,密码为123456rabbitmq用户为root,密码为123456

导入后台项目

打开Eclipse,导入Base/servermaven项目。

导入前台

打开WebStorm,打开Base/web,然后在这个目录下使用npm install安装依赖库。

运行后台

Java Application 运行service-web中的ServiceWebApplication.java

Java Application 运行service-static-resource中的ServiceStaticResourceApplication.java

运行前台

npm start

默认用户:admin/123456

界面

登录

用户管理

权限列表

角色列表

角色修改

用户列表

多媒体

图片

音乐

视频

Swagger Api

base's People

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.