Sign inSign up

imagineteam/imageapp

By imagineteam

•Updated over 2 years ago

This project is a REST API backend for an image sharing platform.

Image
API management
Web servers
0

223

imagineteam/imageapp repository overview

This image was build from the repository⁠

Prerequisites:

  • Docker
  • PostgreSQL (available in the Docker container or cloud-based)
  • Redis (available in the Docker container or cloud-based)
  • Mail account with SMTP server for sending emails
  • Cloudinary account for storing and editing photos

Steps:

  1. Create .env File and Set Parameters

    • Use env.example as a reference.
    PG_DB=postgres
    PG_USER=postgres
    PG_PASSWORD=
    PG_PORT=5432
    PG_DOMAIN=localhost
    
    DB_URL=postgresql+asyncpg://${PG_USER}:${PG_PASSWORD}@${PG_DOMAIN}:${PG_PORT}/${PG_DB}
    
    SECRET_KEY_JWT=
    ALGORITHM=HS256
    
    MAIL_USERNAME=
    MAIL_PASSWORD=
    MAIL_FROM=
    MAIL_PORT=465
    MAIL_SERVER=
    
    REDIS_DOMAIN=localhost
    REDIS_PORT=6379
    REDIS_PASSWORD=
    
    CLOUDINARY_NAME=
    CLOUDINARY_API_KEY=
    CLOUDINARY_API_SECRET=
    
  2. Download Docker Image

    docker pull imagineteam/imageapp
    
  3. Start Docker Image

    docker run --env-file .env imagineteam/imageapp
    
  4. Open Application in Browser

    http://localhost:8000/docs/
    

Tag summary

Content type

Image

Digest

sha256:b1d7af4ca…

Size

149.3 MB

Last updated

over 2 years ago

docker pull imagineteam/imageapp