Giter Club home page Giter Club logo

my_mini_tweet's Introduction

My_Mini_Tweet

##My_Mini_Tweet is a good way to test your own ego !! ####You need to have PHP5.6+ #####Test this project in a LAMP stack please !!

Plugins and libraries :


Warning :

First you need to grant some write and read acces to this project : sudo chmod -R 0777 path/to/My_Mini_Tweet


(Optional) You can change the my_mini_tweet.prod.conf like this :

DocumentRoot path/to/project/
<Directory path/to/project/>

After that you can put the .conf file in your apache directory (/etc/apache2/sites-availables) and :

sudo a2ensite display.prod.conf
sudo service apache2 reload

If you are want to test the project, go to your /etc/hosts file and add this : 127.0.0.1 www.my_mini_tweet.prod

After that you can go to your favorite web navigator and write :

http://www.my_mini_tweet.prod/

How to use :

/!\ If you want to use it directly with fulled exemple, just connect with login = isma91 and password = campus /!\

I assume you enable the conf file in your apache directory !

Before starting, don't forget to import the my_mini_tweet.sql file in your database !!

So we go in http://www.my_mini_tweet.prod/ and we see this : Home page

As you can see you can sign up or sign in, let's create a user !! Trying to create a user

We can see that we forgot the login and our email adresse is invalid... We write in login foobar42, email [email protected] and password as testtest and we click in Sign Up !! Tops: if you forget the pass you wrtied, just hold the click on the eye in his right and you can see your password !! Trying to login

The sign in part display automatically !! We can now add our created user foobar42 or [email protected] and the password testtest. The user wall

Ok here is our wall, in the lest there is your avatar ( empty ), your lastname and firstname, your login, email, how many tweet you send and when you create your account
We also notice that we can change all this if we click in the pen in their right...
The form tweet button is to display/hide the tweet form in the center bottom of the screen, we the eyes is open, the form is here and when the eye is crossed, the form is hidden !!
You can also logout and remove your account, but you need to write your password to validate this kind of dangerous action... Let's send a tweet !! You can't send more than 120 characters by tweet !! Don't forget that !!

Display the tweet

Yay !! Our first tweet is here !! As you can see you can remove, change the content, favorite him or like him !! But first, let's add an avatar...Just click in the photo in the top left.

Adding the avatar

Ok we finally have an avatar !! And our tweet add the avatar automatically !! That's great !! Let's add several tweet, like 3 more tweet !!

Display the pagination

I hide the tweet form to display all the tweet in the screen !! But wait, the fourth tweet is in the last page because we paginate the tweets !! Every 3 tweets, we add a page display properly !!

Display last page

Ok so you know how to create a tweet, how to sign up and in, you can also edit all your personnal info wy clicking in the button or in the pen... Thank you to using this project !!

my_mini_tweet's People

Contributors

isma91 avatar

Watchers

James Cloos avatar  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.