yTakkar / Facemash

A React app to vote πŸ‘πŸ‘Ž!!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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="yourgmail@gmail.com"
    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!!

About

A React app to vote πŸ‘πŸ‘Ž!!

License:MIT License


Languages

Language:JavaScript 67.8%Language:CSS 26.7%Language:HTML 5.5%