diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index fe7186312..50bde3607 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -4,7 +4,7 @@ contact_links: about: Please report security vulnerabilities to security@tiangolo.com - name: Question or Problem about: Ask a question or ask about a problem in GitHub Discussions. - url: https://github.com/tiangolo/full-stack-fastapi-template/discussions/categories/questions + url: https://github.com/fastapi/full-stack-fastapi-template/discussions/categories/questions - name: Feature Request about: To suggest an idea or ask about a feature, please start with a question saying what you would like to achieve. There might be a way to do it already. - url: https://github.com/tiangolo/full-stack-fastapi-template/discussions/categories/questions + url: https://github.com/fastapi/full-stack-fastapi-template/discussions/categories/questions diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 37593ad15..a64d02a15 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -8,7 +8,7 @@ on: jobs: deploy: # Do not deploy in the main repository, only in user projects - if: github.repository_owner != 'tiangolo' + if: github.repository_owner != 'fastapi' runs-on: - self-hosted - production diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index f45583664..26bd692fd 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -8,7 +8,7 @@ on: jobs: deploy: # Do not deploy in the main repository, only in user projects - if: github.repository_owner != 'tiangolo' + if: github.repository_owner != 'fastapi' runs-on: - self-hosted - staging diff --git a/README.md b/README.md index b2dcf9aa4..afe124f3f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Full Stack FastAPI Template -Test -Coverage +Test +Coverage ## Technology Stack and Features @@ -26,31 +26,31 @@ ### Dashboard Login -[![API docs](img/login.png)](https://github.com/tiangolo/full-stack-fastapi-template) +[![API docs](img/login.png)](https://github.com/fastapi/full-stack-fastapi-template) ### Dashboard - Admin -[![API docs](img/dashboard.png)](https://github.com/tiangolo/full-stack-fastapi-template) +[![API docs](img/dashboard.png)](https://github.com/fastapi/full-stack-fastapi-template) ### Dashboard - Create User -[![API docs](img/dashboard-create.png)](https://github.com/tiangolo/full-stack-fastapi-template) +[![API docs](img/dashboard-create.png)](https://github.com/fastapi/full-stack-fastapi-template) ### Dashboard - Items -[![API docs](img/dashboard-items.png)](https://github.com/tiangolo/full-stack-fastapi-template) +[![API docs](img/dashboard-items.png)](https://github.com/fastapi/full-stack-fastapi-template) ### Dashboard - User Settings -[![API docs](img/dashboard-user-settings.png)](https://github.com/tiangolo/full-stack-fastapi-template) +[![API docs](img/dashboard-user-settings.png)](https://github.com/fastapi/full-stack-fastapi-template) ### Dashboard - Dark Mode -[![API docs](img/dashboard-dark.png)](https://github.com/tiangolo/full-stack-fastapi-template) +[![API docs](img/dashboard-dark.png)](https://github.com/fastapi/full-stack-fastapi-template) ### Interactive API Documentation -[![API docs](img/docs.png)](https://github.com/tiangolo/full-stack-fastapi-template) +[![API docs](img/docs.png)](https://github.com/fastapi/full-stack-fastapi-template) ## How To Use It @@ -68,7 +68,7 @@ But you can do the following: - Clone this repository manually, set the name with the name of the project you want to use, for example `my-full-stack`: ```bash -git clone git@github.com:tiangolo/full-stack-fastapi-template.git my-full-stack +git clone git@github.com:fastapi/full-stack-fastapi-template.git my-full-stack ``` - Enter into the new directory: @@ -86,7 +86,7 @@ git remote set-url origin git@github.com:octocat/my-full-stack.git - Add this repo as another "remote" to allow you to get updates later: ```bash -git remote add upstream git@github.com:tiangolo/full-stack-fastapi-template.git +git remote add upstream git@github.com:fastapi/full-stack-fastapi-template.git ``` - Push the code to your new repository: @@ -106,8 +106,8 @@ git remote -v origin git@github.com:octocat/my-full-stack.git (fetch) origin git@github.com:octocat/my-full-stack.git (push) -upstream git@github.com:tiangolo/full-stack-fastapi-template.git (fetch) -upstream git@github.com:tiangolo/full-stack-fastapi-template.git (push) +upstream git@github.com:fastapi/full-stack-fastapi-template.git (fetch) +upstream git@github.com:fastapi/full-stack-fastapi-template.git (push) ``` - Pull the latest changes without merging: @@ -181,16 +181,16 @@ Decide a name for your new project's directory, you will use it below. For examp Go to the directory that will be the parent of your project, and run the command with your project's name: ```bash -copier copy https://github.com/tiangolo/full-stack-fastapi-template my-awesome-project --trust +copier copy https://github.com/fastapi/full-stack-fastapi-template my-awesome-project --trust ``` If you have `pipx` and you didn't install `copier`, you can run it directly: ```bash -pipx run copier copy https://github.com/tiangolo/full-stack-fastapi-template my-awesome-project --trust +pipx run copier copy https://github.com/fastapi/full-stack-fastapi-template my-awesome-project --trust ``` -**Note** the `--trust` option is necessary to be able to execute a [post-creation script](https://github.com/tiangolo/full-stack-fastapi-template/blob/master/.copier/update_dotenv.py) that updates your `.env` files. +**Note** the `--trust` option is necessary to be able to execute a [post-creation script](https://github.com/fastapi/full-stack-fastapi-template/blob/master/.copier/update_dotenv.py) that updates your `.env` files. ### Input Variables diff --git a/backend/app/core/db.py b/backend/app/core/db.py index 782b79d8a..d260a856d 100644 --- a/backend/app/core/db.py +++ b/backend/app/core/db.py @@ -9,7 +9,7 @@ engine = create_engine(str(settings.SQLALCHEMY_DATABASE_URI)) # make sure all SQLModel models are imported (app.models) before initializing DB # otherwise, SQLModel might fail to initialize relationships properly -# for more details: https://github.com/tiangolo/full-stack-fastapi-template/issues/28 +# for more details: https://github.com/fastapi/full-stack-fastapi-template/issues/28 def init_db(session: Session) -> None: