You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-5
Original file line number
Diff line number
Diff line change
@@ -31,9 +31,7 @@ To run this blog system, you need the following software and tools installed on
31
31
- Run `composer install` to install the required dependencies.
32
32
- Create a new MySQL database for the blog system.
33
33
- Copy the `.env.example` file to `.env` and configure your database connection settings.
34
-
- Run `php key.php` to generate an application key.
35
-
- Run `php migrate.php` to create the necessary database tables.
36
-
- (Optional) Run `php seed.php` to populate some sample data.
34
+
- Run `php artisan migrate` to create the necessary database tables.
37
35
38
36
## Configuration
39
37
@@ -47,8 +45,7 @@ To run the blog system, use the following command:
47
45
```
48
46
php artisan serve
49
47
```
50
-
51
-
The application will be accessible at `http://localhost:8000` by default. You can access the GraphQL playground at `http://localhost:8000/graphql-playground` to interact with the API.
48
+
Now open `http://localhost:8000/graphiql`. this is a environment for running graphql queries and get response. in below window you can add Authorization token(you can get that after login or register) and dont forget to add `Content-Type: application/json` header.
0 commit comments