Pix.ly is a RESTful API for images and their metadata, leveraging bucket storage in AWS for all image uploads. Can be used with
Pix.ly frontend for a full image gallery and soon to be image editing platform.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Pix.ly is a RESTful API for images and their metadata, leveraging bucket storage in AWS for all image uploads. Can be used with Pix.ly frontend for a full image gallery and soon to be image editing platform.
To get a local copy up and running follow these simple example steps.
- python3
- postgresql
- aws
- Set up an AWS Bucket at https://aws.amazon.com/s3/
- Clone the repo
git clone https://github.com/m-romberg/pixly-backend.git
- Install pip3 packages
python3 -m venv venv source venv/bin/activate pip3 install -r requirements.txt
- Enter your AWS bucket in
app.py
AWS_BUCKET_URL = "https://madelynromberg-pixly.s3.us-west-1.amazonaws.com"
- Create database in postgresql
psql createdb pixly
- Change databse link in
app.py
app.config['SQLALCHEMY_DATABASE_URI'] = os.environ.get(
"DATABASE_URL", 'postgresql:///pixly') # must link to db
- Run seed.py
python3 seed.py
- Run app in shell
flask run
Please refer to the Demo
- Add photo editing feature using Pillow
- Allow users to revert edited photos
Madelyn Romberg - - [email protected]
Project Link: https://github.com/m-romberg/pixly-backend