Coder Social home page Coder Social logo

rrajasek95 / festember-photobooth-demo Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 1.0 1.17 MB

A web based project which implements a photobooth system in HTML5 as well as a backend for uploading images

PHP 49.28% JavaScript 48.84% ApacheConf 0.27% CSS 0.05% Python 0.83% HTML 0.73%

festember-photobooth-demo's Introduction

Festember Photobooth (Demo)

A web based project which implements a photobooth system in HTML5 as well as a backend for uploading images

Build Instructions

To setup the system, follow the given steps:

  • Copy or rename the .env.sample file as .env and fill it up with your database and environment configuration
  • Run composer install to install all laravel modules
  • Run php artisan key:generate to create the app key for your local instance
  • Run php artisan migrate to execute all migrations
  • Run php artisan db:seed to seed the DB with sample data

Running the server

To start the server, run php artisan serve to run the server in development mode. Otherwise, configure it to run on Apache/NGINX/HHVM using the public folder as DocumentRoot. Set up .htaccess appropriately to allow URL rewrites.

Routes

  • GET / - Frontend route containing a barebones HTML input accepting RFID card no.
  • GET /students - Returns the list of students along with their roll no and RFID card no., etc.
  • POST /images - Accepts a base64 encoded image and festember_id and stores the image in the storage folder.
  • GET /images - Displays the festember ID as well as the filename of the image
  • GET /images/today - Get the images uploaded for the given day
  • GET /images/festember_id/:id - Get all images uploaded by the person with the given Festember ID
  • GET /images/view - An interface for viewing all images

TODO

  • Route to display the festember ID and the images in order to send to the Festember server..

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.