Skip to content

Latest commit

 

History

History
58 lines (45 loc) · 1.69 KB

README.md

File metadata and controls

58 lines (45 loc) · 1.69 KB

Facemash

A web-app created with React to vote for your favorite users. Screenshots below!!

No longer maintained.

Quick liks

  1. Screenshots
  2. Own the project

Screenshots

alt text alt text alt text alt text alt text

UI is taken from Instagam-clone I created!!

Own the project

  1. First install all dependencies:

    # with npm
    npm install
    
    # or with yarn
    yarn
  2. Open PHPMyAdmin, create a DB & import facemash.sql file.

  3. Create a .env file and insert the following code. Replace values with yours!!

    PORT=YOUR_PORT
    MYSQL_HOST="host"
    MYSQL_USER="user"
    MYSQL_PASSWORD="password"
    MYSQL_DATABASE="db"
    MAIL="[email protected]"
    MAIL_PASSWORD="gmail-password"
    SESSION_SECRET_LETTER="anything-secret"
  4. Start the server

    npm start
  5. Now run the app

    localhost:[PORT]     PORT = YOU DEFINED IN .ENV FILE. 4111 BY DEFAULT!!
    
  6. Enjoy!!

Contribute

Show your support by 🌟 the project!!

Feel free to contribute!!