docs: improve alt of images (#12998)
* docs: improve alt of images * fix vale errors
This commit is contained in:
@@ -13,7 +13,7 @@ A standard Medusa project is made up of:
|
||||
- Medusa application: The Medusa server and the Medusa Admin.
|
||||
- One or more storefronts
|
||||
|
||||

|
||||

|
||||
|
||||
You deploy the Medusa application, with the server and admin, separately from the storefront.
|
||||
|
||||
@@ -25,7 +25,7 @@ You must deploy the Medusa application before the storefront, as it connects to
|
||||
|
||||
The Medusa application must be deployed to a hosting provider supporting Node.js server deployments, such as Railway, DigitalOcean, AWS, Heroku, etc…
|
||||
|
||||

|
||||

|
||||
|
||||
Your server connects to a PostgreSQL database, Redis, and other services relevant for your setup. Most hosting providers support deploying and managing these databases along with your Medusa server (such as Railway and DigitalOcean).
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ A middleware is a function executed when a request is sent to an API Route. It's
|
||||
|
||||
Middlewares are used to guard API routes, parse request content types other than `application/json`, manipulate request data, and more.
|
||||
|
||||

|
||||

|
||||
|
||||
<Note title="Tip">
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ A data model represents a table in the database. You create data models using Me
|
||||
|
||||
You create a data model in a TypeScript or JavaScript file under the `models` directory of a module. So, to create a `Post` data model in the Blog Module, create the file `src/modules/blog/models/post.ts` with the following content:
|
||||
|
||||

|
||||

|
||||
|
||||
```ts title="src/modules/blog/models/post.ts"
|
||||
import { model } from "@medusajs/framework/utils"
|
||||
|
||||
@@ -45,7 +45,7 @@ After answering the prompts, the command installs the Medusa application in a di
|
||||
|
||||
If you chose to install the storefront with the Medusa application, the storefront is installed in a separate directory named `{project-name}-storefront`.
|
||||
|
||||

|
||||

|
||||
|
||||
### Successful Installation Result
|
||||
|
||||
@@ -57,7 +57,7 @@ If you also installed the Next.js Starter Storefront, it'll be running at `http:
|
||||
|
||||
You can stop the servers for the Medusa application and Next.js Starter Storefront by exiting the installation command. To run the server for the Medusa application again, refer to [this section](#run-medusa-application-in-development).
|
||||
|
||||

|
||||

|
||||
|
||||
### Troubleshooting Installation Errors
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ These layers of stack can be implemented within [plugins](../../fundamentals/plu
|
||||
|
||||
</Note>
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
@@ -43,7 +43,7 @@ Modules can be implemented within [plugins](../../fundamentals/plugins/page.mdx)
|
||||
|
||||
</Note>
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
@@ -89,4 +89,4 @@ All of the third-party services mentioned above can be replaced to help you buil
|
||||
|
||||
The following diagram illustrates Medusa's architecture including all its layers.
|
||||
|
||||

|
||||

|
||||
|
||||
@@ -21,7 +21,7 @@ You don't need to set up different projects for each instance. Instead, you can
|
||||
|
||||
This separation ensures that the server instance remains responsive to incoming requests, while the worker instance processes tasks in the background.
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user