MIT License

项目介绍

syqu22/spring-boot-shop-sample 是一个托管在 GitHub 上的开源项目,主要使用 Java 编写,采用 MIT License 许可证,目前获得 117 个 Star、46 次 Fork。

仓库全名
syqu22/spring-boot-shop-sample
开源许可证
MIT License
Star 数
117
Fork 数
46
未关闭 Issue
2

README 摘要

Spring Boot - Shop Sample Description This is my first project using Spring. I wanted to do e-commerce web application to learn Spring. I have used Spring Boot, Spring Security, Spring Data JPA with H2 database, for views i have used Thymeleaf template and Bootstrap CSS framework. Screenshots Installation You can clone this repository and use it localy: Using Maven plugin First you should do clean installation: You…

完整内容见 GitHub 原始 README 或本页 。

常见问题

spring-boot-shop-sample 用什么语言开发?

主要使用 Java 编写,采用 MIT License 许可证,目前有 117 个 Star。

spring-boot-shop-sample 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 spring-boot-shop-sample 的源码?

可以直接克隆仓库:git clone https://github.com/syqu22/spring-boot-shop-sample.git,默认分支为 master;安装与运行步骤见仓库 README。

spring-boot-shop-sample 最近还在维护吗?

仓库最近一次更新为 2024年8月2日,当前有 2 个未关闭 Issue;Star 数为 117,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

My first web application using Spring Boot framework.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

CSS
HTML
Java
JavaScript

README

Spring Boot - Shop Sample

Build Status

Description

This is my first project using Spring. I wanted to do e-commerce web application to learn Spring. I have used Spring Boot, Spring Security, Spring Data JPA with H2 database, for views i have used Thymeleaf template and Bootstrap CSS framework.

Screenshots

Installation

You can clone this repository and use it localy:

$ git clone https://github.com/syqu22/spring-boot-shop-sample.git

Using Maven plugin

First you should do clean installation:

$ mvn clean install

You can start application using Spring Boot custom command:

$ mvn spring-boot:run

Using Maven plugin and running JAR

You can create JAR file using:

$ mvn clean package

and then run it with:

$ java -jar target/shop-x.x.x.jar

Logins

Initially there are 2 users in memory:

Login: admin Password: admin with ADMIN role.

Login: user Password: user with USER role.

Roles

ADMIN can add, edit and delete products.

USER can add products to shopping cart and buy them.

Tests

You can run tests using:

$ mvn test

License

Project is based on MIT License. You can read about the license here.

评论

暂无评论