A personal blog that uses Spring Boot 2.x in the backend, nuxtJs in the frontend, and vue in the backend
Gitee link:
api: https://gitee.com/windsnowli/w-blog-api
Front desk: https://gitee.com/windsnowli/vue-ssr-blog
Backend: https://gitee.com/windsnowli/vue-admin-blog
GitHub link:
api: https://github.com/WindSnowLi/w-blog-api
Front desk: https://github.com/WindSnowLi/vue-ssr-blog
Backend: https://github.com/WindSnowLi/vue-admin-blog
A simple personal blog project is divided into three parts:前台,后台, and api .
The api backend is based on SpringBoot . Mainly relies on mybatis , fastjson , DruidDataSource , Lombok , java-jwt , aliyun-sdk-oss , knife4j , etc. The database uses MySQL8.0+
The main style of the front desk comes from a BizBlog template on the Internet. I don’t know where it originally came from. It was rewritten into a nuxtJs project based on the original.
The vue-element-admin used in the background UI is basically used directly. If you want to customize it yourself, your strength does not allow it.
Example: Green food - Cai Dog
git clone https://gitee.com/WindSnowLi/w-blog-api.git or git clone https://github.com/WindSnowLi/w-blog-api.git to clone the project locallymvn clean install dependency:tree installation dependencyapplication-dev.yml and the production environment application-prod.yml ; knife4j is only activated in the development environment.UTF8 encodingmvn clean package -Dmaven.test.skip=true skips tests and generates jar packagesjava -jar 生成的包名.jar is used to run the development configuration environment. The database will be automatically initialized during the first run.http://127.0.0.1:8888/doc.html to view the api documentationgit clone https://gitee.com/WindSnowLi/vue-ssr-blog.git or git clone https://github.com/WindSnowLi/vue-ssr-blog.git clone the project to localnpm install installation dependencieshost address in the config/sitemap.xml file can be modified to generate an access map.nuxt.config.js can be modifiedBASE_URL in script in the package.json file to specify the backend api address.npm run buildnpm start run locallygit clone https://gitee.com/WindSnowLi/vue-admin-blog.git or git clone https://github.com/WindSnowLi/vue-admin-blog.git clone the project to localnpm install installation dependenciesnpm run dev uses simulated data preview interfaceVUE_APP_BASE_API address in the .env.production file to the address of the backend apinpm run build:prod compiledist folder can be placed under the http server (you can use npm to install http-server ) for access.[email protected] , password: 123456 MIT
Copyright (c) 2021 WindSnowLi