Features
- Springboot (Mysql) server
- Node (Javascript, Typescript, Express, Mysql) server
- Go (Fiber, Mysql) server
- Dotnet (Mysql) server
- Vue 3.0 (Javascript)
- Flutter (Bloc) code generation
- Mysql table code generation
- Mysql procedure code generation
- Mysql function code generation
- ER Diagram function
- ER Dictionary function
- Generate Swagger open api json generation
- Create API (word) documentation
- Create Table (word) documentation
Release 1.3.15.75
Usage
When you run coders, it prints the command.
C:\> coders
coders 1.3.1.54
Copyright (C) 2021 coders
Command Explanation
init Create a config file.
create Generate framework code.
build Create program source
version Print the version.
copy Copy the files.
login Log in to Remote Storage.
logout Log out of Remote Storage.
sync Synchronize to remote storage.
export Export to word document
serve Serve documents, diagrams, etc. as a web server.
help Print usage.
First, create a structure with the command below. Execute the command in the demo folder to generate the coders.yml file and basic example files.
C:\demo> coders init
Execute the following command to create dependency files so that the project can be built.
C:\demo> coders create
Generate the code by running the following command: The build command creates source files in the path defined in coders.yml.
C:\demo> coders build
If the above command is executed successfully, each platform-specific code is generated in the out folder.
C:\demo> coders serve
If the above code is executed, the web server is executed as shown below. Enter http://localhost:8080/ in the web browser to view the table diagram.
If you run the code below, you will create a word document.
C:\demo> coders export
Let's take a look at the coders.yml file.
version: 1.0
entry: ./src/main.jssp
projectName: 'Demo'
projects:
# flutter - dart
- name: "flutter project"
platform: flutter
outPath: ./out/flutter
configs:
package: 'com.coders.demo.app'
# springboot - java
- name: "springboot project"
platform: springboot
outPath: ./out/springboot
configs:
package: 'com.coders.demo.api'
generateQuery: false
# node - typescript
- name: "node typescript project"
platform: nodets
outPath: ./out/nodets
configs:
generateQuery: true
# mysql
- name: "mysql project"
platform: mysql
outPath: ./out/mysql
# swagger
- name: "open api document"
platform: swagger
outPath: ./out/swagger
configs:
name: "swagger"
urls:
- "http://localhost:8080"
swaggerVersion: "3.0.0"
version: "0.0.1"
# node - javascript
- name: "node server"
platform: nodejs
outPath: ./out/nodejs
# node - typescript
- name: "node server(typescript)"
platform: nodets
outPath: ./out/nodets
# vuejs - javascript
- name: "vue front"
platform: vuejs
outPath: ./out/vuejs
configs:
generateStore: true
generateRoute: true
generateMock: true
useHistory: true
# vuets - typescript
- name: "vue front(typescript)"
platform: vuets
outPath: ./out/vuets
configs:
generateStore: true
generateRoute: true
generateMock: true
useHistory: true
# dotnet - c#
- name: "dotnet server"
platform: dotnet
outPath: ./out/dotnet
# fiber - go
- name: "fiber go project"
platform: fibergo
outPath: ./out/fibergo
configs:
generateQuery: false