Requirements: python3.9, redis
- Install the requirements
python -m pip install -r requirements.txt
- In another terminal, run Redis
redis-stack-server
- Run the local server:
uvicorn app.main:app --reload
The documentation is available at http://localhost:8000/docs
(in SwaggerUI format) and at http://localhost:8000/redoc
(in ReDoc format)
Main page (http://localhost:8000
) redirects towards the documentation in ReDoc format.
Requirements: Docker needs to be installed
- Run docker-compose
docker-compose up -d
Endpoints are accessible at http://localhost:8000
.
If you have redis-cli or RedisInsight installed, the redis endpoint can be accessed at http://localhost:6379