๐Ÿ“ฆ google-gemini / angular-database-schema-sample

โ˜… 32 stars โ‘‚ 10 forks ๐Ÿ‘ 32 watching โš–๏ธ Apache License 2.0
๐Ÿ“ฅ Clone https://github.com/google-gemini/angular-database-schema-sample.git
HTTPS git clone https://github.com/google-gemini/angular-database-schema-sample.git
SSH git clone git@github.com:google-gemini/angular-database-schema-sample.git
CLI gh repo clone google-gemini/angular-database-schema-sample
Fred Sauer Fred Sauer Merge pull request #10 from google-gemini/dependabot/npm_and_yarn/multi-b4d14387f7 710cda6 1 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ .idx
๐Ÿ“ .vscode
๐Ÿ“ docs
๐Ÿ“ src
๐Ÿ“„ .editorconfig
๐Ÿ“„ .gitignore
๐Ÿ“„ angular.json
๐Ÿ“„ LICENSE
๐Ÿ“„ LICENSE.txt
๐Ÿ“„ package-lock.json
๐Ÿ“„ package.json
๐Ÿ“„ README.md
๐Ÿ“„ SECURITY.md
๐Ÿ“„ tsconfig.app.json
๐Ÿ“„ tsconfig.json
๐Ÿ“„ tsconfig.spec.json
๐Ÿ“„ README.md

Angular database schema sample

Developer sample written in Angular, demonstrating how to use the Gemini API and function calling to collaboratively and iteratively create a database schema using natural language prompts.

Open in IDX

Usage notes

[!CAUTION]
Using the Google AI SDK directly from a client-side app as is shown in
this sample is recommended for prototyping only. For non-prototyping use
cases, we strongly recommend that you call the Google AI Gemini API only
server-side to keep your API key safe. If you embed your API key directly in
your web app or fetch it remotely at runtime, you risk potentially exposing
your API key to malicious actors.

This project was initially generated with Angular CLI version 17.0.5.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.