File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,10 @@ Generates the endpoints (or a whole app) from a mapping (SQL query -> URL)
50
50
51
51
| Language | Command | Generated files | Dependencies |
52
52
| -----------| ----------------------------| ---------------------------| ------------ |
53
- | JavaScript | ` npx query2app --lang js ` | [ ` app.js ` ] ( examples/js/express/mysql/app.js ) <br />[ ` routes.js ` ] ( examples/js/express/mysql/routes.js ) <br />[ ` package.json ` ] ( examples/js/express/mysql/package.json ) <br />[ ` Dockerfile ` ] ( examples/js/express/mysql/Dockerfile ) | Web: [ ` express ` ] ( https://www.npmjs.com/package/express ) <br >Database: [ ` mysql ` ] ( https://www.npmjs.com/package/mysql ) |
54
- | TypeScript | ` npx query2app --lang ts ` | [ ` app.ts ` ] ( examples/ts/express/mysql/app.ts ) <br />[ ` routes.ts ` ] ( examples/ts/express/mysql/routes.ts ) <br />[ ` package.json ` ] ( examples/ts/express/mysql/package.json ) <br />[ ` tsconfig.json ` ] ( examples/ts/express/mysql/tsconfig.json ) <br />[ ` Dockerfile ` ] ( examples/ts/express/mysql/Dockerfile ) | Web: [ ` express ` ] ( https://www.npmjs.com/package/express ) <br >Database: [ ` mysql ` ] ( https://www.npmjs.com/package/mysql ) |
55
- | Golang | ` npx query2app --lang go ` | [ ` app.go ` ] ( examples/go/chi/mysql/app.go ) <br />[ ` routes.go ` ] ( examples/go/chi/mysql/routes.go ) <br />[ ` go.mod ` ] ( examples/go/chi/mysql/go.mod ) <br />[ ` Dockerfile ` ] ( examples/go/chi/mysql/Dockerfile ) | Web: [ ` go-chi/chi ` ] ( https://github.com/go-chi/chi ) <br />Database: [ ` go-sql-driver/mysql ` ] ( https://github.com/go-sql-driver/mysql ) , <br />[ ` jmoiron/sqlx ` ] ( https://github.com/jmoiron/sqlx ) |
56
- | Python | ` npx query2app --lang python ` | [ ` app.py ` ] ( examples/python/fastapi/postgres/app.py ) <br />[ ` db.py ` ] ( examples/python/fastapi/postgres/db.py ) <br />[ ` routes.py ` ] ( examples/python/fastapi/postgres/routes.py ) <br />[ ` requirements.txt ` ] ( examples/python/fastapi/postgres/requirements.txt ) <br />[ ` Dockerfile ` ] ( examples/python/fastapi/postgres/Dockerfile ) | Web: [ FastAPI] ( https://github.com/tiangolo/fastapi ) , [ Uvicorn] ( https://www.uvicorn.org ) <br />Database: [ psycopg2] ( https://pypi.org/project/psycopg2/ ) |
53
+ | JavaScript | ` npx query2app --lang js ` | [ ` app.js ` ] ( examples/js/express/mysql/app.js ) <br />[ ` routes.js ` ] ( examples/js/express/mysql/routes.js ) <br />[ ` package.json ` ] ( examples/js/express/mysql/package.json ) <br />[ ` Dockerfile ` ] ( examples/js/express/mysql/Dockerfile ) | [ ` express ` ] ( https://www.npmjs.com/package/express ) <br /> [ ` mysql ` ] ( https://www.npmjs.com/package/mysql ) |
54
+ | TypeScript | ` npx query2app --lang ts ` | [ ` app.ts ` ] ( examples/ts/express/mysql/app.ts ) <br />[ ` routes.ts ` ] ( examples/ts/express/mysql/routes.ts ) <br />[ ` package.json ` ] ( examples/ts/express/mysql/package.json ) <br />[ ` tsconfig.json ` ] ( examples/ts/express/mysql/tsconfig.json ) <br />[ ` Dockerfile ` ] ( examples/ts/express/mysql/Dockerfile ) | [ ` express ` ] ( https://www.npmjs.com/package/express ) <br /> [ ` mysql ` ] ( https://www.npmjs.com/package/mysql ) |
55
+ | Golang | ` npx query2app --lang go ` | [ ` app.go ` ] ( examples/go/chi/mysql/app.go ) <br />[ ` routes.go ` ] ( examples/go/chi/mysql/routes.go ) <br />[ ` go.mod ` ] ( examples/go/chi/mysql/go.mod ) <br />[ ` Dockerfile ` ] ( examples/go/chi/mysql/Dockerfile ) | [ ` go-chi/chi ` ] ( https://github.com/go-chi/chi ) <br />[ ` go-sql-driver/mysql ` ] ( https://github.com/go-sql-driver/mysql ) <br />[ ` jmoiron/sqlx ` ] ( https://github.com/jmoiron/sqlx ) |
56
+ | Python | ` npx query2app --lang python ` | [ ` app.py ` ] ( examples/python/fastapi/postgres/app.py ) <br />[ ` db.py ` ] ( examples/python/fastapi/postgres/db.py ) <br />[ ` routes.py ` ] ( examples/python/fastapi/postgres/routes.py ) <br />[ ` requirements.txt ` ] ( examples/python/fastapi/postgres/requirements.txt ) <br />[ ` Dockerfile ` ] ( examples/python/fastapi/postgres/Dockerfile ) | [ FastAPI] ( https://github.com/tiangolo/fastapi ) < br /> [ Uvicorn] ( https://www.uvicorn.org ) <br />[ psycopg2] ( https://pypi.org/project/psycopg2/ ) |
57
57
</details >
58
58
59
59
1 . Run the application
You can’t perform that action at this time.
0 commit comments