This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fastapi import FastAPI | |
from fastapi.openapi.utils import get_openapi | |
from fastapi.staticfiles import StaticFiles | |
from fastapi.openapi.docs import get_swagger_ui_html | |
app = FastAPI( title="My API", description="API con documentación offline", version="1.0.0") | |
# Configuración personalizada de OpenAPI | |
def custom_openapi(): | |
if app.openapi_schema: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set shell := ["CMD","/C"] | |
# Lista los commandos de este archivo | |
commands: | |
@just --list | |
# Sincroniza las dependendias | |
sync: | |
@uv sync |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm config set proxy http://myuser:mypassword@proxy:8080 | |
npm config set https-proxy https://myuser:mypassword@proxy:8080 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set shell := ["powershell.exe", "-c"] | |
sms1 := '***EJECUTANDO_CORRECCION_DE_CODIGO***' | |
inits := "Iniciando_servidor_artisan." | |
ends := "Se_cerro_el_servidor_artisan." | |
initn := "Iniciando_servidor_npm" | |
endn := "Se_cerro_servidor_npm" | |
# lista de comandos | |
[windows] | |
default: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spring.application.name=ProjectName | |
spring.datasource.url=jdbc:postgresql://localhost:5432/DataBaseName?createDatabaseIfNotExist=true | |
spring.datasource.username=root | |
spring.datasource.password= | |
# Hibernate Configuration | |
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect | |
spring.datasource.driver-class-name=org.postgresql.Driver | |
spring.jpa.show-sql=true | |
spring.jpa.hibernate.ddl-auto=create-drop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git remote set-url origin https://mipersonalaccesskey@github.com/AlejandroSoftwareDeveloper/Nombre_de_proyecto_en_github | |
git push origin main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BIN = ./bin/ | |
SRC=./src | |
OBJ=./obj | |
CFLAGS= -g -Wall | |
SRCS=$(wildcard $(SRC)/*.c) | |
OBJS=$(patsubst $(SRC)/%.c,$(OBJ)/%.o,$(SRCS)) | |
CC=gcc | |
LINKS= -lmingw32 -lgdi32 | |
$(BIN): $(OBJS) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BIN = ./bin/project_name | |
SRC=./src | |
OBJ=./obj | |
CFLAGS= -g -Wall | |
SRCS=$(wildcard $(SRC)/*.c) | |
OBJS=$(patsubst $(SRC)/%.c,$(OBJ)/%.o,$(SRCS)) | |
CC=gcc | |
$(BIN): $(OBJS) | |
$(CC) $(CFLAGS) $(OBJS) -o $@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git remote set-url origin https://HASH_DEL_ACCESS_TOKEN@github.com/AlejandroSoftwareDeveloper/Nombre_de_proyecto_en_github | |
git push origin main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spring.application.name=crudapi | |
spring.datasource.url=jdbc:mysql://localhost:3306/Nombre_de_mi_base_de_datos?createDatabaseIfNotExist=true | |
spring.datasource.username=root | |
spring.datasource.password= | |
spring.datasource.driver-class-name=com.mysql.jdbc.Driver | |
spring.jpa.show-sql:true | |
spring.jpa.hibernate.ddl-auto:create-drop | |
NewerOlder