Interface Network
Interface Network is an application about social media.
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 Docs
This project provides api services, for more details please visit link API documentation.
Database Schema Diagram
This project also provides a schema diagram of a database design, you can see it by visiting this link.
NOTE: This schema diagram is still in the development stage because following the development on this project, there may be changes to the schema diagram.
License
This project is licensed under the MIT License.