Camagru is a small web application allowing you to make basic photo and video editing using your webcam and some predefined images.
HTML
CSS
PHP
JavaScript
MAMP
MySQL
-
Install the Bitnami MAMP/LAMP/WAMP stack.
-
Clear your htdocs folder.
-
Clone your repository in htdocs.
-
Configure your MySQL database to use the following credentials:
User: root Password: root1004
Remember to change these credentials to make the database more secure
-
To create your database and table run http://localhost/Camagru/config/setup.php in your browser's url bar.
-
Run http://localhost/Camagru in your browser's url bar or click on the "To CAmagru Main Site" button to start using Camagru.
-
Register a new user and verify your registration via email.
-
Login and go crazy!
-
config, contains all the setup files to create the database and it's respective tables.
-
backend, contains mostly practice files and also some of my functions.
-
functions, contains all the different functions that are used right through the website.
-
My display files are in the project root directory.
-
styles, contains the css stylesheet for the presentation of my HTML.
-
users, contains all the functions that has something to do with the user.
These are the test that I executed with their expected outcomes:
-
Test
Start web server
Expected outcome:
- Web server start and you can locate website at http://localhost/Camagru
-
Test
Create database with http://localhost/Camagru/config/setup.php
Expected outcome
- Check http://localhost/phpmyadmin to see if a database called camagru is created with a comments table, images table, likes table and an users table
-
Test
Create an account
Expected outcome
- You are able to register a new user
-
Test
Log in
Expected outcome
- You are able to log in with your new account
-
Test
Capture a picture with your webcam
Expected outcome
- You are able to capture a picture with your webcam
-
Test
Upload a picture
Expected outcome
- You are able to upload a picture
-
Test
Visit gallery
Expected outcome
- You are able to see the picture you just uploaded
-
Test
Change your users credentials
Expected outcome
- You are able to change your credentials