Social Network
Tech Includes
Front End:
- Post CSS
- Tailwind CSS v3
Back End:
- Laravel v8
- PHP v8
- MySQL v8
Asset Bundling:
- Laravel Mix
Features
How to use
If you want to use this project, you can participate in contributions in this repository or you can also clone this repository to view it in development mode.
First step, clone this repository using git command git clone
and enter into this project using terminal command cd
.
git clone https://github.com/novalramdhani/social-network.git
cd social-network
The second step, install and update this project package with Composer package manager.
composer install && composer update
The third step, copy the contents of the file .env.example
and create a new file with the name .env
or if you want it easier you can use a terminal command with the name cp
.
cp .env.example .env
The fourth step, open the .env earlier and go to the database adapter configuration (Laravel supports 4 databases, namely: mySQL (the default used in this project), postgreSQL, SQLite, SQLServer), input the database name, username and password.
(For SQLite, no need to enter username, password, host and port, just enter the database url path)
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=
The fifth step, use the Artisan command named php artisan migrate
to migrate all database files in the database/migrations
directory.
php artisan migrate
The last step, again use the Artisan command named php artisan serve
to open the local development server with host localhost:8000
.
php artisan serve
Api Spec
This project provides api services, for more details please read this api documentation.
License
This project is licensed under the MIT License.