Rename project from "EventSpace" to "App" across files

Updated project name references in configuration, scripts, and code. This includes changes to database URLs, Docker commands, environment variables, and displayed API titles. Ensures consistency with the new project name "App".
This commit is contained in:
2025-02-27 13:50:51 +01:00
parent b76a45d0ce
commit b02d38f5b2
7 changed files with 10 additions and 10 deletions

View File

@@ -1,11 +1,11 @@
# Common settings
PROJECT_NAME=EventSpace
PROJECT_NAME=App
VERSION=1.0.0
# Database settings
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=eventspace
POSTGRES_DB=App
POSTGRES_HOST=db
POSTGRES_PORT=5432
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}

View File

@@ -1,7 +1,7 @@
.PHONY: dev prod down clean
VERSION ?= latest
REGISTRY := gitea.pragmazest.com/cardosofelipe/eventspace
REGISTRY := gitea.pragmazest.com/cardosofelipe/app
dev:

View File

@@ -1,6 +1,6 @@
[alembic]
script_location = alembic
sqlalchemy.url = postgresql://postgres:postgres@db:5432/eventspace
sqlalchemy.url = postgresql://postgres:postgres@db:5432/app
[loggers]
keys = root,sqlalchemy,alembic

View File

@@ -3,7 +3,7 @@ from typing import Optional, List
class Settings(BaseSettings):
PROJECT_NAME: Optional[str] = "EventSpace"
PROJECT_NAME: Optional[str] = "App"
VERSION: Optional[str] = "1.0.0"
API_V1_STR: Optional[str] = "/api/v1"

View File

@@ -3,7 +3,7 @@ from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker
import os
SQLALCHEMY_DATABASE_URL = os.getenv("DATABASE_URL", "postgresql://postgres:postgres@db:5432/eventspace")
SQLALCHEMY_DATABASE_URL = os.getenv("DATABASE_URL", "postgresql://postgres:postgres@db:5432/app")
engine = create_engine(SQLALCHEMY_DATABASE_URL)
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)

View File

@@ -25,10 +25,10 @@ async def root():
return """
<html>
<head>
<title>EventSpace API</title>
<title>App API</title>
</head>
<body>
<h1>Welcome to EventSpace API</h1>
<h1>Welcome to app API</h1>
<p>Explore the available endpoints and documentation:</p>
<a href="/docs">OpenAPI Documentation</a>
</body>

View File

@@ -7,8 +7,8 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"docker:build": "docker build -t eventspace-frontend .",
"docker:run": "docker run -p 3000:3000 eventspace-frontend"
"docker:build": "docker build -t app-frontend .",
"docker:run": "docker run -p 3000:3000 app-frontend"
},
"dependencies": {