Skip to content

Commit 52d3136

Browse files
author
Chris Cho
committed
more edits
1 parent 96b5a8a commit 52d3136

File tree

5 files changed

+22
-21
lines changed

5 files changed

+22
-21
lines changed

docs/quick-start/configure-mongodb.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ Configure Your MongoDB Connection
5050

5151
MongoDB\Laravel\MongoDBServiceProvider::class,
5252

53+
After completing these steps, your Laravel web application is ready to
54+
connect to MongoDB.
55+
5356
.. include:: /includes/quick-start/troubleshoot.rst
5457

5558
.. button:: Next: View Sample MongoDB Data

docs/quick-start/create-a-deployment.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ your MongoDB database in the cloud.
2222
After you create your database user, save that user's
2323
username and password to a safe location for use in an upcoming step.
2424

25-
After you complete these steps, you have a new free tier MongoDB
26-
deployment on Atlas, database user credentials, and sample data loaded
27-
into your database.
25+
After completing these steps, you have a new free tier MongoDB deployment on
26+
Atlas, database user credentials, and sample data loaded into your database.
2827

2928
.. note::
3029

docs/quick-start/download-and-install.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ to a Laravel web application.
5050

5151
composer global require laravel/installer
5252

53-
When the installation completes, you should see the
54-
following output:
53+
When the installation completes, you should see the following output:
5554

5655
.. code-block:: none
5756
:copyable: false
@@ -67,8 +66,7 @@ to a Laravel web application.
6766

6867
laravel new {+quickstart-app-name+}
6968

70-
When the installation completes, you should see the
71-
following output:
69+
When the installation completes, you should see the following output:
7270

7371
.. code-block:: none
7472
:copyable: false
@@ -83,7 +81,7 @@ to a Laravel web application.
8381
.. step:: Add a Laravel Application Encryption Key
8482

8583
Run the following command to add the Laravel application encryption
86-
key which is required to encrypt cookies:
84+
key, which is required to encrypt cookies:
8785

8886
.. code-block:: bash
8987

@@ -112,8 +110,8 @@ to a Laravel web application.
112110

113111
"mongodb/laravel-mongodb": "^{+package-version+}"
114112

115-
After you complete these steps, you should have a new Laravel project
116-
with the {+odm-short+} dependencies installed.
113+
After completing these steps, you have a new Laravel project with the
114+
{+odm-short+} dependencies installed.
117115

118116
.. include:: /includes/quick-start/troubleshoot.rst
119117

docs/quick-start/view-data.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. laravel-quick-start-view-data:
22

3-
========================
4-
View Sample MongoDB Data
5-
========================
3+
=================
4+
View MongoDB Data
5+
=================
66

77
.. facet::
88
:name: genre

docs/quick-start/write-data.txt

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. _laravel-quick-start-write-data:
22

3-
=================================
4-
Post an API Request to Write Data
5-
=================================
3+
=====================
4+
Write Data to MongoDB
5+
=====================
66

77
.. facet::
88
:name: genre
@@ -30,10 +30,10 @@ Post an API Request to Write Data
3030
$movie->save();
3131
}
3232

33-
.. step:: Add a Route for the Controller Function
33+
.. step:: Add an API Route that Calls the Controller Function
3434

35-
Add the following API route to map to the ``store()`` method and the
36-
corresponding import in the ``routes/api.php`` file:
35+
Import the controller and add an API route that calls the ``store()``
36+
method in the ``routes/api.php`` file:
3737

3838
.. code-block:: php
3939

@@ -49,7 +49,7 @@ Post an API Request to Write Data
4949
.. step:: Update the Model Fields
5050

5151
Update the ``Movie`` model in the ``app/Models`` directory to
52-
specify fields that the ``fill()`` method populates as shown in the
52+
specify the fields that the ``fill()`` method populates as shown in the
5353
following code:
5454

5555
.. code-block:: php
@@ -78,7 +78,8 @@ Post an API Request to Write Data
7878
"plot": "This movie entry was created by running through the Laravel MongoDB Quick Start tutorial."
7979
}
8080

81-
Send the payload to the endpoint by running the following command in your shell:
81+
Send the JSON payload to the endpoint as a ``POST`` request by running
82+
the following command in your shell:
8283

8384
.. code-block:: bash
8485

0 commit comments

Comments
 (0)