Skip to content

This project is a small Instagram-like site allowing users to make and share photo-montages, implemented in PHP, with bare hands (no frameworks), alongside with the basic functionalities encountered on the majority of sites with a user base.

License

Notifications You must be signed in to change notification settings

solaanan/Camagru

Repository files navigation

Camagru

This project is a small Instagram-like site allowing users to make and share photo-montages, implemented in PHP, with bare hands (no frameworks), alongside with the basic functionalities encountered on the majority of sites with a user base. Made @ 1337 (One of the 42 Network Schools).

screenshot

Main features

  • Access gallery
    You can enter the gallery where you will find the posts of the users without being registered or logged in.

  • Create a new account:
    You can create a new account, you will be asked to fill in a username that should be unique in our database, a valid email address which you will be asked to verify later on, a strong password that should have at least: 8 characters, 1 uppercase, 1 lowercase, 1 number, 1 special character

screenshot

then you will be asked to verify your email address, you will find a link to do so in your email's inbox.

  • Login to your account:
    Once verified, you can login to your account.

screenshot

  • Add a new post
    Once logged in, there is two ways to add a new post in Camagru: by taking a new picture with your camera, or uploading a new image from your device.
  1. Through your camera:
    At the gallery page you will notice there's two buttons have been added, Take a photo and Upload a photo, you click on the first and you will be taken the camera page.

screenshot

Now smile at the camera! make a pose or whatever and click Snap, a text field should appear to add some text your post if you want. Once you hit Save the post should be saved and added to the recent posts field on the right.

screenshot

  1. Upload from your device:
    If you don't want to use you camera to add a post, you can surely upload an existing image on your device. On the gallery page click Upload a photo, it should redirect you to the page where you can upload a new image.

screenshot

  • Delete a post

  • Like and comment a post

  • Visit someone's profile and see their posts

  • Edit your own profile
    You can change your username, email address, password, and your profile picture, you should verify the new email address after changing it.

Built with:

  • Back-end: Vanilla PHP (No MVC).
  • Front-end: Vanilla Javascript.
  • Database: MySQL. (used PDO interface)
  • Styling: CSS, Bootstrap

Authors

  • Souhaib LAANANI - Initial work - Imgox

License

This project is licensed under the MIT License - see the LICENSE file for details

Open for testing:

If you care to test my Camagru, you can visit it through here and use this test account for login:

Username Password
test Test@2020

About

This project is a small Instagram-like site allowing users to make and share photo-montages, implemented in PHP, with bare hands (no frameworks), alongside with the basic functionalities encountered on the majority of sites with a user base.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published