Skip to content

Commit 5506221

Browse files
authored
Update README.md
1 parent e51f64e commit 5506221

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ To run this blog system, you need the following software and tools installed on
3131
- Run `composer install` to install the required dependencies.
3232
- Create a new MySQL database for the blog system.
3333
- 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.
3735

3836
## Configuration
3937

@@ -47,8 +45,7 @@ To run the blog system, use the following command:
4745
```
4846
php artisan serve
4947
```
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.
5249

5350
## GraphQL
5451

0 commit comments

Comments
 (0)