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.
-
social web react -> this is the front-end website to working with api (not release)
-
social web flutter -> android app with Flutter, It's just front-end to working with api.
- 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
ornpm i
to install packages- if using
linux
don't forget to change permissionpublic
folders and all inside - open localhost on your browser
- login with the admin account
- username :
nawasan
- password :
admin
- username :
docker is for example
- copy
.env.example
to.env
- run
make up
command - change permissions for
public
directory - open localhost
- PHP-8.1 + MySQL
- Tailwindcss
- control
- spelte
- 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