重要通知: Laravel + 小程序的開源電商版本源碼已經在 github 上拉,歡迎提交 issue 和 star :)
開源電商 Server 端: Laravel API源碼
開源電商 client 端:小程序源碼
源碼地址: api-tutorial-source
源碼協議:MITgit
MIT License Copyright (c) 2018 https://www.ibrand.cc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
教程採用貼近項目的開發方式來進行,流程將基於 gitflow ,每一個章節都有一個分支。github
每一個章節的分支並不會刪除,能夠經過切換分支來查看章節中的代碼。小程序
章節功能完全完成後,將合併到 develop
分支,全部功能完成後將合併到 master
分支,而且會 release
版本。segmentfault
把教程中的 註冊登陸 章節來進行說明。api
註冊登陸對應分支:feature/chapter-1
驗證碼的發送與驗證對應標籤:chapter-1.3
this
其餘章節以此類推。rest