Giter VIP home page Giter VIP logo

springboottest's Introduction

这是在软件测试课程里面跟同学一起开发的一个用来学习软件测试的小系统,麻雀虽小,但五脏俱全,提供给大家学习使用(agiltest文件夹为项目源代码)


项目名:火车订票系统

技术使用:后端Springboot + Mybatis + Maven包管理 
	  前端:原生html + js + css + jquery

JKD版本:1.8

mysql版本:8

配置文件为 :application.yml  
	
	其中里面的数据库配置 为  用户名:root   密码 :123456   数据库名:ticket
	访问端口号:8080

开发工具: idea


项目启动前,新建一个名字为 ticket 数据库,运行ticket.sql,确保配置文件没有问题后即可访问打开


访问前需要修改网页请求的base_url,保证请求畅通




base_url 在项目文件的相对位置:agiletest\src\main\resources\static\static\js    下,自行定制修改
 

在静态资源文件custom.js以及loginJS.js的头部修改  var base_url = "http://localhost:8080";(这里为默认的请求基地址)

该项目部分静态资源需要联网获取,打开浏览器访问前,请保证网络畅通,否则可能出现一些页面样式丢失等问题

确保上述正确后,即可打开项目(以agiletest文件夹为根目录),使用maven导包运行


注意,项目额外添加了两个依赖,如果是从csdn看到我的博客过来的,自行构建项目目录的时候要额外再pom.xml文件里面添加两个依赖

<!--json数据转化接收工具-->
		<dependency>
			<groupId>com.alibaba</groupId>
			<artifactId>fastjson</artifactId>
			<version>1.2.49</version>
		</dependency>

<!-- alibaba的druid数据库连接池 -->
		<dependency>
			<groupId>com.alibaba</groupId>
			<artifactId>druid-spring-boot-starter</artifactId>
			<version>1.1.10</version>
		</dependency>



访问地址:
http://localhost:8080/static/fontpage/login.html





大家觉得好用的话,给颗星星呗~~~~~

若有问题,可以给我留言,或者关注我的csdn博客私信我 :ID: aa792978017








	  

springboottest's People

Contributors

aa792978017 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.