Git Product home page Git Product logo

friends-gallery's Introduction

Friends Gallery

alt text

Deployment

Stack

Features

This application includes the following features:

  • Upload photos
  • Like photos
  • Add comments to photos
  • Approve or reject photos (only for admin user)

Important

Only the admin user (credentials provided via e-mail) can approve or reject uploaded photos. Furthermore, photos uploaded by this user do not need approval to be visible to everyone

Architecture Model

alt text

Usage

Log in

alt text

If you want access admin user, use the credentials provided via email. I also sent a test user.

alt text

If you want to create your own user, you can do it by clicking on the sign up button.

Uploading photos

alt text

Click on the upload button and select an image on file picker

Liking photos

alt text

If you have not liked a photo yet, the heart button will be white. You can click on it to like a photo.

If you already like a photo, the heart button will be red. You can click on it to unlike button.

The like counter is updated on every action.

Commenting on photos

alt text

Use the text input to write your comment, then click on the publish button to submit your comment.

Approve or reject photos

alt text

Click on the green button to approve a photo or on the red button to reject a photo.

alt text

If you rejected a photo, you still can change your mind and turn it online by clicking on the green button.

Only the admin user (credentials provided via e-mail) can approve or reject uploaded photos. Furthermore, photos uploaded by this user do not need approval to be visible to everyone

Run app locally

  • Front-end:

In the root folder of the project:

cd friends-gallery
npm install
npm run serve
  • Back-end:

In the root folder of the project:

cd backend/src
pip install -r requirements.txt
pip install pyopenssl
pip install testresources
python server.py

Note: Edit the end of server.py file to alternate between HTTP and HTTPS protocols, or the server port. HTTPS protocol requires a SSL certificate. It's currently set to HTTP.

friends-gallery's People

Contributors

erickoliveirat avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.