gregoire-moreau/COMP307_Project
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
All Bark No Bite
Team Members: Jen Gahrns, Grégoire Moreau, Eric Choinière
Points: 14
Browsers: Google Chrome and Mozilla Firefox.
Jen
- HTML/CSS
- JS/DOM
Eric
- JSON
- Security
- XAMPP
Grégoire
- SQL
- SLIM
- PHP
NB:
*Eric also wrote several JavaScript functions, such as the sorting algorithm for suggested friends.
*Grégoire also added server side security measures to protect against SQL injection, and the server side decryption/encryption.
How to run:
1. Extract the front-end and back-end files and copy the files into a new folder inside the htdocs folder of your XAMPP installation
2. Configure XAMPP to allow uploads up to 5MB (change line 818 in xampp/php/php.ini to "upload_max_filesize=5M")
3. Start Apache and MySQL in XAMPP
4. Import the database :
i. Access localhost/phpmyadmin with your browser
ii. Go to Import and browse to the "allbarknobite.sql" file in this folder
iii. Uncheck the "Enable foreign key checks" options
iv. Click Go
5. Access localhost/"name of the new folder" with your browser or put CLICKME.html in that folder, open it and click on the link
6. Sign up an account through the link on the Login page
Notes for making an account:
* Most dogs in the DB are in location "Downtown" so to see how our sorting algorithm etc. works it would be best to select this option when testing the site
* To explore the full functionality of the site, create two or more accounts so you can log in to both and test the interaction features (See below)
7. Log in to your account and explore the following functionalities :
* Upload a picture of your dog through the profile page
* See nearby dogs with similar interests through the suggested friends section of the barks page
* Bark at dogs you want to connect with, bark back at dogs who have barked at you if you'd like to be friends
* View your friends and schedule playdates with your friends through the friends page
* Use the playdate form by clicking the playdate button on one of your friends to send them a playdate request
* Accept playdate requests and view your upcoming playdates through the playdates page.