Giter VIP home page Giter VIP logo

five-six's Introduction

image


项目简介

这是一个前后端分离的电影管理和推荐系统,采用Vue.js + Spring Boot技术栈开发

前台效果

主页

主页是网站的门户,进行导航和slogan的展示,提供搜索的功能

image

搜索

可以根据关键词进行搜索(导演、演员),后端目前采用模糊查询的方式返回数据库中的记录

image

电影集

该页是电影信息展示和选择界面,仿豆瓣界面设计;可以根据类别、评分、时间进行电影的搜索;目前包含1500+电影信息(也就是爬200部封一次ip吧...)
爬虫可以参见 我的豆瓣爬虫

image

向我推荐

该界面主要是根据用户的浏览记录和收藏等信息对其进行个性化推荐

image

后台效果

后台主要进行用户管理、角色配置以及电影信息管理

image

技术架构

image 注:由于项目目前只是运行在本地,所以没有引入Nginx,部署到服务器中时,可以考虑使用Nginx进行代理

主要技术栈

前端

  • Vue.js
  • ElementUI
  • axios

后端

  • Spring Boot
  • MyBatis
  • Apache Shiro
  • Spring Data Redis

数据库

  • MySQL
  • Redis

运行

  • 后端
  1. 克隆项目到本地
git clone https://github.com/xiaott-ahh/five-six.git
  1. 启动Redis服务,默认端口6379,密码为空
  2. 创建数据库five-six,初始化脚本在src/main/resources文件夹下,包含电影相关和用户相关两个脚本;数据库初始化由配置类
    DBInitializer完成,切换脚本的路径即可执行不同的脚本,不过电影初始化脚本只包含表结构,是没有数据的,需要结合爬虫导入
  3. 启动FiveSixServerApplication,项目运行在8443端口,端口号、数据库、MyBatis、Redis相关配置在application-dev.yml中
  • 前端
  1. 克隆项目到本地
git clone https://github.com/xiaott-ahh/five-six-vue.git
  1. 进入项目根目录运行(在Idea中可以右键package.json->show npm script,双击serve,项目默认运行在8080端口
    端口可以在vue.config.js中进行更改,跨域配置也在该文件中)
npm run serve
  1. 前后端都启动服务后,就可以进行交互了,登录用户名:xiaott,密码:123;也可以使用后端中InitAdmin.sql中初始化的其他用户登录,会有不同的角色和访问权限
    注:本项目基于vue-cli3

five-six's People

Contributors

xiaott-ahh avatar

Watchers

James Cloos 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.