Giter VIP home page Giter VIP logo

newssystem's Introduction

快速开始

本项目是简易的新闻发布系统,很简陋,有如下功能

1.登陆

2.注册

3.新闻发布

4.后台管理

5.新闻首页展示

6.新闻搜索

后端技术栈为Spring+ SpringBoot+Mybatis+Mybatis-Plus的Maven项目,使用IDEA开发

resources目录下包括了前端的html,css,js文件以及SpringBoot的配置文件

application.yaml的内容:

spring:
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://localhost:3306/news_demo?serverTimezone=UTC
    username: root
    password: '016016'

mybatis-plus:
  mapper-locations: classpath:/mapper/*.xml

自行修改MySQL数据库url,用户名和密码字段
另外,端口号修改在application.propertiesserver.port=4514

鄙人只是想来练练手,前端的文件是网络上下载的,根据前端所需要的功能编写后端代码。 鄙人能力和精力不足,评论,收藏,用户等级,文章图片路径均未完成(被注释掉了,嘻嘻),多多见谅 img.png

提供文章,目录和用户的SQL文件(在项目的src目录下)

另外后台的管理系统现在默认是只有lid>=2才能登上后台,数据库里面就只有账户114514,密码114514的用户可以登陆反正到时候想怎么改都行,记住密码要用里面的MD5工具encode一遍再加入数据库才行(如果手动添加的话)不想再做过多的测试了,祝我好运,祝各位好运!


ps:MD也不会写……

newssystem's People

Contributors

interest016 avatar cn016 avatar

Stargazers

 avatar

Watchers

 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.