jod35/fastapi-beyond-CRUD
소개
제 FastAPI Beyond CRUD 강의의 소스 코드입니다. 무료 강의이며 자주 업데이트할 예정입니다.
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +3
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalFastAPI Beyond CRUD
This is the source code for the FastAPI Beyond CRUD course. The course focuses on FastAPI development concepts that go beyond the basic CRUD operations.
For more details, visit the project's website.
Table of Contents
Getting Started
Follow the instructions below to set up and run your FastAPI project.
Prerequisites
Ensure you have the following installed:
- Python >= 3.10
- PostgreSQL
- Redis
Project Setup
Clone the project repository:
git clone https://github.com/jod35/fastapi-beyond-CRUD.gitNavigate to the project directory:
cd fastapi-beyond-CRUD/Create and activate a virtual environment:
python3 -m venv env source env/bin/activateInstall the required dependencies:
pip install -r requirements.txtSet up environment variables by copying the example configuration:
cp .env.example .envRun database migrations to initialize the database schema:
alembic upgrade headOpen a new terminal and ensure your virtual environment is active. Start the Celery worker (Linux/Unix shell):
sh runworker.sh
Running the Application
Start the application:
fastapi dev src/
Alternatively, you can run the application using Docker:
docker compose up -d
Running Tests
Run the tests using this command
pytest
Contributing
I welcome contributions to improve the documentation! You can contribute here.
관련 프로젝트 살펴보기
불러오는 중…