https://github.com/arikato111/social-web-php
social web application with php
https://github.com/arikato111/social-web-php
mysql php social-media tailwindcss
Last synced: 3 months ago
JSON representation
social web application with php
- Host: GitHub
- URL: https://github.com/arikato111/social-web-php
- Owner: Arikato111
- License: gpl-2.0
- Created: 2022-12-28T19:09:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-03T16:22:49.000Z (7 months ago)
- Last Synced: 2025-01-17T20:21:55.524Z (5 months ago)
- Topics: mysql, php, social-media, tailwindcss
- Language: PHP
- Homepage:
- Size: 5.06 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
![]()
![]()
#
Social web php
![]()
![]()
![]()
![]()
![]()
![]()
This is a project to create a social media website to send teachers.
but this can be production and I try to write a real use case.## Others
- #### [social web react](https://github.com/Arikato111/social-web-react) -> this is the front-end website to working with api (not release)
- #### [social web flutter](https://github.com/Arikato111/social-web-flutter) -> android app with Flutter, It's just front-end to working with api.
- [download app or view release](https://github.com/Arikato111/social-web-flutter/releases)## Get started
#### with apache
- clone this repository
- move all **files** and **folders** in this repository to `./htdocs`
- **don't create others folder**
- import `database.sql` to your database
- create `.env` like `.env.example` and enter your database connection
- enter your `firebaseConfig` at './public/google-login.js'
- `yarn` or `npm i` to install packages
- if using `linux` don't forget to change permission `public` folders and all inside
- open [localhost](http://localhost) on your browser
- login with the admin account
- username : `nawasan`
- password : `admin`### with docker
docker is for example
- copy `.env.example` to `.env`
- run `make up` command
- change permissions for `public` directory
- open [localhost](http://localhost)## Inside it
- PHP-8.1 + MySQL
- [Tailwindcss](https://tailwindcss.com)
- [control](https://github.com/Arikato111/control)
- [spelte](https://github.com/Arikato111/spelte-php)
- [use-import](https://github.com/Arikato111/use-import/tree/master)
- [spelte](https://github.com/Arikato111/spelte-php/tree/module)
- [dotenv](https://github.com/Arikato111/php-dotenv/tree/main)
- [wisit-router](https://github.com/Arikato111/wisit-router/tree/master)
- [wisit-express](https://github.com/Arikato111/wisit-express/tree/Release1.0)## Need to know
- about api method must use only GET, POST;
- when use others method use $_GET['method'] to check method
- when frond-end request with others method will use params in url : example `/api/post?method=delete`