Skip to content

Commit bd5eea5

Browse files
committed
initial project on GoggleAiStudio
0 parents  commit bd5eea5

119 files changed

Lines changed: 19733 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# GEMINI_API_KEY: Required for Gemini AI API calls.
2+
# AI Studio automatically injects this at runtime from user secrets.
3+
# Users configure this via the Secrets panel in the AI Studio UI.
4+
GEMINI_API_KEY="MY_GEMINI_API_KEY"
5+
6+
# APP_URL: The URL where this applet is hosted.
7+
# AI Studio automatically injects this at runtime with the Cloud Run service URL.
8+
# Used for self-referential links, OAuth callbacks, and API endpoints.
9+
APP_URL="MY_APP_URL"

.gitignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
2+
3+
# Env variables
4+
.env*
5+
!.env.example
6+
7+
# Compiled output
8+
/dist
9+
/tmp
10+
/out-tsc
11+
/bazel-out
12+
13+
# Node
14+
node_modules/
15+
npm-debug.log
16+
yarn-error.log
17+
18+
# IDEs and editors
19+
.idea/
20+
.project
21+
.classpath
22+
.c9/
23+
*.launch
24+
.settings/
25+
*.sublime-workspace
26+
27+
# Visual Studio Code
28+
.vscode/*
29+
!.vscode/settings.json
30+
!.vscode/tasks.json
31+
!.vscode/launch.json
32+
!.vscode/extensions.json
33+
.history/*
34+
35+
# Miscellaneous
36+
/.angular/cache
37+
.sass-cache/
38+
/connect.lock
39+
/coverage
40+
/libpeerconnection.log
41+
testem.log
42+
/typings
43+
__screenshots__/
44+
45+
# System files
46+
.DS_Store
47+
Thumbs.db

.postcssrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"plugins": {
3+
"@tailwindcss/postcss": {}
4+
}
5+
}

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<div align="center">
2+
<img width="1200" height="475" alt="GHBanner" src="https://ai.google.dev/static/site-assets/images/share-ais-513315318.png" />
3+
</div>
4+
5+
# Run and deploy your AI Studio app
6+
7+
This contains everything you need to run your app locally.
8+
9+
View your app in AI Studio: https://ai.studio/apps/c9f95229-05dc-4fcb-bfac-ba83fb9f8bd5
10+
11+
## Run Locally
12+
13+
**Prerequisites:** Node.js
14+
15+
16+
1. Install dependencies:
17+
`npm install`
18+
2. Set the `GEMINI_API_KEY` in [.env.local](.env.local) to your Gemini API key
19+
3. Run the app:
20+
`npm run dev`

angular.json

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"cli": {
5+
"packageManager": "npm",
6+
"schematicCollections": [
7+
"angular-eslint"
8+
],
9+
"analytics": "169ed763-2250-4e49-a165-52c8e18688e7"
10+
},
11+
"newProjectRoot": "projects",
12+
"projects": {
13+
"app": {
14+
"projectType": "application",
15+
"schematics": {},
16+
"root": "",
17+
"sourceRoot": "src",
18+
"prefix": "app",
19+
"architect": {
20+
"build": {
21+
"builder": "@angular/build:application",
22+
"options": {
23+
"browser": "src/main.ts",
24+
"tsConfig": "tsconfig.app.json",
25+
"assets": [
26+
{
27+
"glob": "**/*",
28+
"input": "public"
29+
}
30+
],
31+
"styles": [
32+
"src/styles.css"
33+
],
34+
"server": "src/main.server.ts",
35+
"outputMode": "server",
36+
"ssr": {
37+
"entry": "src/server.ts"
38+
}
39+
},
40+
"configurations": {
41+
"production": {
42+
"budgets": [
43+
{
44+
"type": "initial",
45+
"maximumWarning": "500kB",
46+
"maximumError": "1MB"
47+
},
48+
{
49+
"type": "anyComponentStyle",
50+
"maximumWarning": "4kB",
51+
"maximumError": "8kB"
52+
}
53+
],
54+
"outputHashing": "all"
55+
},
56+
"development": {
57+
"optimization": false,
58+
"extractLicenses": false,
59+
"sourceMap": true
60+
}
61+
},
62+
"defaultConfiguration": "production"
63+
},
64+
"serve": {
65+
"builder": "@angular/build:dev-server",
66+
"configurations": {
67+
"production": {
68+
"buildTarget": "app:build:production"
69+
},
70+
"development": {
71+
"buildTarget": "app:build:development"
72+
}
73+
},
74+
"defaultConfiguration": "development"
75+
},
76+
"test": {
77+
"builder": "@angular/build:unit-test"
78+
},
79+
"lint": {
80+
"builder": "@angular-eslint/builder:lint",
81+
"options": {
82+
"lintFilePatterns": [
83+
"src/**/*.ts",
84+
"src/**/*.html"
85+
]
86+
}
87+
}
88+
}
89+
}
90+
}
91+
}

bun.lock

Lines changed: 1713 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eslint.config.js

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// @ts-check
2+
const eslint = require('@eslint/js');
3+
const {defineConfig} = require('eslint/config');
4+
const tseslint = require('typescript-eslint');
5+
const angular = require('angular-eslint');
6+
7+
module.exports = defineConfig([
8+
{
9+
files: ['**/*.ts'],
10+
extends: [
11+
eslint.configs.recommended,
12+
tseslint.configs.recommended,
13+
tseslint.configs.stylistic,
14+
angular.configs.tsRecommended,
15+
],
16+
processor: angular.processInlineTemplates,
17+
rules: {
18+
'@angular-eslint/directive-selector': [
19+
'error',
20+
{
21+
type: 'attribute',
22+
prefix: 'app',
23+
style: 'camelCase',
24+
},
25+
],
26+
'@angular-eslint/component-selector': [
27+
'error',
28+
{
29+
type: 'element',
30+
prefix: 'app',
31+
style: 'kebab-case',
32+
},
33+
],
34+
},
35+
},
36+
{
37+
files: ['**/*.html'],
38+
extends: [
39+
angular.configs.templateRecommended,
40+
angular.configs.templateAccessibility,
41+
],
42+
rules: {},
43+
}
44+
]);

metadata.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "Reccos Shop",
3+
"description": "Plataforma de Gestão de Catálogo e Autopeças Reccos Shop - Application Shell & Design System",
4+
"requestFramePermissions": [],
5+
"majorCapabilities": ["MAJOR_CAPABILITY_SERVER_SIDE_GEMINI_API"]
6+
}

0 commit comments

Comments
 (0)