https://github.com/rog-golang-buddies/go-automatic-apps
Generate CRUD applications automatically with the least effort and as beautiful as possible
https://github.com/rog-golang-buddies/go-automatic-apps
automatic-api automatic-ui crud crud-application go golang
Last synced: 5 months ago
JSON representation
Generate CRUD applications automatically with the least effort and as beautiful as possible
- Host: GitHub
- URL: https://github.com/rog-golang-buddies/go-automatic-apps
- Owner: rog-golang-buddies
- License: apache-2.0
- Created: 2022-07-05T21:46:19.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-15T01:16:26.000Z (about 3 years ago)
- Last Synced: 2024-06-20T22:43:26.253Z (almost 2 years ago)
- Topics: automatic-api, automatic-ui, crud, crud-application, go, golang
- Language: Go
- Homepage:
- Size: 838 KB
- Stars: 7
- Watchers: 1
- Forks: 3
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Automatic Apps (GAA)
[](https://github.com/pre-commit/pre-commit)
[](https://results.pre-commit.ci/latest/github/rog-golang-buddies/golang-template-repository/main)
Generate CRUD applications automatically with the least effort and as beautiful as possible
Discord invite link: [Go Lang Buddies](https://discord.gg/a3pScfYd)
Discord channel: [#go-automatic-apps-discussion](https://discord.com/channels/985562648663961690/991318636692246603)
## How Go Automatic Apps is used? (To be done)
1. Create a new Go project
2. Install Go Automatic Apps dependency
3. Define your database file (schema name and connection parameters)
4. Define your table models (using ent.io)
5. Instantiate Go Automatic Apps server
6. Done
# How it works? (To be done)
## GAA CLI
Command line to execute actions:
- Create a new model
- Create migrations
- Run migrations
## GAA Server
The server that handles the CRUD UI (React) and the API.
The server does it automatically by reading the models definitions.
1. Autogenerated UI for Create/Read/Update/Delete (CRUD) rows from a model
2. Autogenerated API to respond to the UI actions
# Contribute
## Setup
* Go 1.19
## Folders
* `architecture`: Documents and diagrams
* `cmd`: Code for the **gaa** command
* `pkg`: Exportable libraries
* `internal`: Utility functions
* `server`: Server side code