laragol / Laragol
Laravel clone in go
Stars: โญ 127
Programming Languages
go
31211 projects - #10 most used programming language
Labels
Projects that are alternatives of or similar to Laragol
Laravel And Vue.js Spa Recipe Box
Single Page Application with Laravel 5.4 and Vue.js 2 - Recipe Box
Stars: โญ 124 (-2.36%)
Mutual labels: laravel
Vue Toastify
๐ฅ Simple, extendable, dependency free notification plugin. ๐ฅ
Stars: โญ 126 (-0.79%)
Mutual labels: laravel
Php Ddd Example
๐๐ฏ Hexagonal Architecture + DDD + CQRS in PHP using Symfony 5
Stars: โญ 1,960 (+1443.31%)
Mutual labels: laravel
Laravel Littlegatekeeper
Protect pages from access with a universal username/password
Stars: โญ 125 (-1.57%)
Mutual labels: laravel
Laravel Docker K8s
Running Laravel project using Docker and Deploying using Kubernetes
Stars: โญ 127 (+0%)
Mutual labels: laravel
Querybuilderparser
A simple to use query builder for the jQuery QueryBuilder plugin for use with Laravel.
Stars: โญ 126 (-0.79%)
Mutual labels: laravel
Docker Octobercms
Dockerized October CMS: PHP, Composer, October core and dependencies
Stars: โญ 125 (-1.57%)
Mutual labels: laravel
Report
Report management package in PHP that aims to help you export information in a variety of formats
Stars: โญ 125 (-1.57%)
Mutual labels: laravel
React Redux Laravel
๐ Boilerplate blog project for react redux laravel
Stars: โญ 126 (-0.79%)
Mutual labels: laravel
Laravel Blog Api
laravel+vue ไธชไบบๅๅฎข๏ผ้กน็ฎ้ข่ง๏ผ http://www.golang365.com
Stars: โญ 127 (+0%)
Mutual labels: laravel
Nova Repeatable Fields
A Laravel Nova field for configuring repeatable sets of fields
Stars: โญ 126 (-0.79%)
Mutual labels: laravel
Wxxcx
Laravel5ๅพฎไฟกๅฐ็จๅบ็ปๅฝ่ทๅ็จๆทไฟกๆฏๆฉๅฑ
Stars: โญ 127 (+0%)
Mutual labels: laravel
Testbench
[Package] Laravel Testing Helper for Packages Development
Stars: โญ 1,705 (+1242.52%)
Mutual labels: laravel
Laravel clone in go
This is an ongoing experiment to help me learn go by trying to clone the developer experience of Laravel or more accurate Lumen.
I don't know if this is actually a good idea to build applications in this manner. But maybe is a way to present go to PHP or Rails developers.
Features
- Live update on file change (makefile sugar) + (cespare/reflex)
- Dependencies folder vendor (GOPATH to /vendor)
- Http Server (valyala/fasthttp)
- Routing (qiangxue/fasthttp-routing)
- ORM (jinzhu/gorm)
- Migration (only folder like atm, looking for libraries)
- Seeding (Basic)
- Examples (User & Country CRUD)
Roadmap
- Templating (valyala/quicktemplate)
- Migration library
- More Examples
- Even More Examples
- Auth
- Config
- Commands
- Package Management (Masterminds/glide)
Folder structure
$ tree src
.
โโโ app
โ โโโ Helpers
โ โ โโโ DB.go
โ โโโ Http
โ โ โโโ Controllers
โ โ โ โโโ CountryController.go
โ โ โ โโโ UserController.go
โ โ โโโ routes.go
โ โโโ Models
โ โโโ Country.go
โ โโโ User.go
โโโ database
โ โโโ migrations
โ โ โโโ 000001_create_countries_table.go
โ โ โโโ 000002_create_users_table.go
โ โ โโโ migrations.go
โ โโโ seeds
โ โโโ CountriesTableSeeder.go
โ โโโ UsersTableSeeder.go
โ โโโ seeds.go
โโโ main.go
8 directories, 13 files
Docker
docker-compose up
Server is listening on http://127.0.0.1:8080/
Run migrations
docker-compose run api /code/bin/main migrate
Run seeding
docker-compose run api /code/bin/main db:seed
Now you can see it in acion at:
http://127.0.0.1:8080/api/countries
http://127.0.0.1:8080/api/users
Without Docker
Without docker yo need to install go and have MySQL up and running. Create a database "go_api" and root user with password "123456" or modify the file src/app/Helpers/DB.go with your MySQL credentials.
make install
make build-dev
./bin/main migrate
./bin/main db:seed
make dev #linux
make dev-mac #mac
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].