fix api deploy
add photo upload
updated gitignore