https://github.com/ytakkar/facemash
A React app to vote 👍👎!!
https://github.com/ytakkar/facemash
mern-stack react social-network
Last synced: about 1 year ago
JSON representation
A React app to vote 👍👎!!
- Host: GitHub
- URL: https://github.com/ytakkar/facemash
- Owner: yTakkar
- License: mit
- Created: 2017-12-19T10:11:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T04:03:58.000Z (over 4 years ago)
- Last Synced: 2025-03-30T14:03:00.702Z (about 1 year ago)
- Topics: mern-stack, react, social-network
- Language: JavaScript
- Homepage:
- Size: 4.31 MB
- Stars: 85
- Watchers: 6
- Forks: 34
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Facemash
A web-app created with React to vote for your favorite users. Screenshots below!!
**No longer maintained.**
# Quick liks
1. [Screenshots](#screenshots)
2. [Own the project](#own-the-project)
# Screenshots





UI is taken from [Instagam-clone](https://github.com/yTakkar/React-Instagram-Clone-2.0) I created!!
# Own the project
1. First install all dependencies:
```bash
# 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!!
```javascript
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
```bash
npm start
```
5. Now run the app
```javacript
localhost:[PORT] PORT = YOU DEFINED IN .ENV FILE. 4111 BY DEFAULT!!
```
6. Enjoy!!
# Contribute
Show your support by 🌟 the project!!
Feel free to contribute!!