https://github.com/nielsouvrard/my-twitter
Recreate twitter with PHP Vue MySQL. Frontend and Backend.
https://github.com/nielsouvrard/my-twitter
mysql php56 vue3 vuejs
Last synced: about 1 month ago
JSON representation
Recreate twitter with PHP Vue MySQL. Frontend and Backend.
- Host: GitHub
- URL: https://github.com/nielsouvrard/my-twitter
- Owner: NielsOuvrard
- Created: 2024-05-10T19:41:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-10T17:51:43.000Z (11 months ago)
- Last Synced: 2025-02-13T15:25:34.574Z (3 months ago)
- Topics: mysql, php56, vue3, vuejs
- Language: PHP
- Homepage: http://niels.ouvrard.free.fr/
- Size: 327 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Twitter
### This is a reproduction of Twitter with Vue.js and PHP.
Vue 3 for the frontend.
PHP 5.6.34 for the backend (It's the version on the free server).
MySQL 5.0.83 for the database.Complet website hosted on a Free server (for free ofc).
[Link to my-twitter website](http://niels.ouvrard.free.fr/)
## Frontend
### Architecture
```sh
frontend/
├── babel.config.js
├── package-lock.json
├── package.json
│
├── public
│ ├── favicon.ico
│ ├── index.html
│ └── robots.txt
│
└── src
├── App.vue
├── main.ts
│
├── assets
│ └── logo.png
│
├── components
│ └── [...].vue
│
├── router
│ └── index.ts
│
├── store
│ └── index.ts
│
├── types
│ └── types.ts
│
└── views
└── [...].vue
```## Backend
### Architecture
```sh
backend/
├── Makefile
├── index.php
├── request.log
├── run_local.sh
│
├── routes
│ └── routes.php
│
├── utils
│ ├── db.php
│ ├── jwt.php
│ ├── response.php
│ └── tools.php
│
└── controllers
└── [...].php
```## Features to add
### CI/CD
- [ ] Add docker environments for frontend and backend
### Frontend
- [ ] Can comment / like publications
- [ ] Limit of characters shown in preview publications / messages
- [ ] Link search bar with backend
- [ ] Recent posts of users on their profile
- [ ] Individual page for publication
- [ ] Push to user / publication where you click
- [ ] Take in store data to avoid multiple fetch- [ ] Refont like / comment esthetic
- [ ] Refont login / register esthetic### Backend
- [ ] Fix 'getLastUsersMessages' route to avoid double users
- [ ] Better way to grab /{id} in routes
- [ ] Search bar route## Tools
[](https://vuejs.org/)
[](https://www.php.net/)
[](https://www.mysql.com/)[
](https://github.com/SamKirkland/FTP-Deploy-Action)