{"id":4140,"date":"2023-11-04T23:14:05","date_gmt":"2023-11-04T23:14:05","guid":{"rendered":"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/"},"modified":"2023-11-05T05:47:59","modified_gmt":"2023-11-05T05:47:59","slug":"how-to-build-a-e-commerce-website-with-magento-and-php","status":"publish","type":"post","link":"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/","title":{"rendered":"How to Build a E-commerce Website with Magento and PHP"},"content":{"rendered":"

How to Build an E-commerce Website with Magento and PHP<\/h1>\n

In this tutorial, we will explore how to build a fully functional e-commerce website using Magento and PHP. Magento is a powerful and popular e-commerce platform that allows you to create and manage your online store with ease. With its extensive range of features and flexibility, Magento offers a great solution for building and scaling your e-commerce business.<\/p>\n

Prerequisites<\/h2>\n

Before we get started, make sure you have the following prerequisites in place:<\/p>\n

    \n
  1. PHP installed on your machine<\/li>\n
  2. Composer installed for package management<\/li>\n
  3. MySQL or any other relational database management system (RDBMS) installed and configured<\/li>\n
  4. A basic understanding of PHP and web development concepts<\/li>\n<\/ol>\n

    Step 1: Install Magento<\/h2>\n

    To install Magento, we need to use Composer. Open a terminal or command prompt and navigate to the directory where you want to install Magento. Run the following command to create a new Magento project:<\/p>\n

    composer create-project --repository-url=https:\/\/repo.magento.com\/ magento\/project-community-edition magento\n<\/code><\/pre>\n

    This will download the latest version of Magento and set up the project in a directory named “magento”.<\/p>\n

    Step 2: Configure Magento<\/h2>\n

    After the installation is complete, navigate to the Magento directory and copy the env.php<\/code> file from app\/etc<\/code> directory to create a new env.php<\/code> file. Open the new env.php<\/code> file in a text editor and update the database connection settings based on your MySQL configuration:<\/p>\n

    'db' => [\n    'connection' => [\n        'default' => [\n            'host' => 'localhost',\n            'dbname' => 'your_database_name',\n            'username' => 'your_username',\n            'password' => 'your_password',\n            'active' => '1',\n        ],\n    ],\n],\n<\/code><\/pre>\n

    Replace 'your_database_name'<\/code>, 'your_username'<\/code>, and 'your_password'<\/code> with your actual database details.<\/p>\n

    Step 3: Set up your web server<\/h2>\n

    To run Magento, we need a web server like Apache or Nginx. Set up a virtual host for your Magento installation, pointing it to the pub<\/code> directory inside the Magento root directory.<\/p>\n

    For Apache, you can create a new virtual host configuration file under \/etc\/apache2\/sites-available\/<\/code>:<\/p>\n

    <VirtualHost *:80>\n    ServerName your-domain.com\n    DocumentRoot \/path\/to\/magento\/pub\n\n    <Directory \/path\/to\/magento\/pub>\n        Options Indexes FollowSymLinks\n        AllowOverride All\n        Require all granted\n    <\/Directory>\n<\/VirtualHost>\n<\/code><\/pre>\n

    Make sure to replace 'your-domain.com'<\/code> and 'path\/to\/magento'<\/code> with your actual domain and Magento installation path, respectively.<\/p>\n

    Restart your web server for the changes to take effect.<\/p>\n

    Step 4: Access the Magento installation<\/h2>\n

    Now, open a web browser and access your Magento installation using the configured domain or localhost. You will be presented with the Magento installation wizard.<\/p>\n

    Follow the instructions on the wizard to complete the installation process, including specifying your store’s details, creating an admin account, and configuring your preferred currency and language options.<\/p>\n

    Once the installation is completed, you will be redirected to the Magento Admin Panel.<\/p>\n

    Step 5: Customize your store<\/h2>\n

    Magento offers a wide range of customization options, allowing you to tailor your store to your specific needs. Let’s explore a few key areas you might want to configure:<\/p>\n

    Themes<\/h3>\n

    Magento offers a variety of themes to choose from. You can browse and install themes right from the admin panel. Go to Content \u2192 Design \u2192 Configuration<\/strong> and select your store from the list. Then, choose a theme from the available options and apply it to your store.<\/p>\n

    Extensions<\/h3>\n

    Magento has a rich ecosystem of extensions that you can use to extend the functionality of your store. There are both free and paid extensions available. You can find and install extensions from the Magento Marketplace within the admin panel.<\/p>\n

    Products and Categories<\/h3>\n

    To start adding products to your store, go to Catalog \u2192 Products<\/strong>. Click on Add Product<\/strong> to create a new product. Provide all the necessary details such as name, price, description, and images. You can also create categories to organize your products by going to Catalog \u2192 Categories<\/strong>.<\/p>\n

    Payment and Shipping Methods<\/h3>\n

    Magento provides various payment and shipping methods that you can configure for your store. Go to Stores \u2192 Configuration \u2192 Sales \u2192 Payment Methods<\/strong> to configure payment options like PayPal, credit cards, etc. Similarly, you can configure shipping options under Stores \u2192 Configuration \u2192 Sales \u2192 Shipping Methods<\/strong>.<\/p>\n

    Step 6: Customize the front-end<\/h2>\n

    To customize the look and feel of your Magento store, you can leverage custom themes, templates, and layouts. Magento follows the Model-View-Controller (MVC) architectural pattern, making it easy to customize the front-end.<\/p>\n

    Theme customization<\/h3>\n

    By default, Magento uses the Luma theme. You can customize this theme or create your own custom theme by following the official Magento documentation.<\/p>\n

    Template customization<\/h3>\n

    Magento uses the PHP-based template language called “PHTML” to render the HTML output. You can modify the existing templates or create new ones to customize different pages and sections of your store.<\/p>\n

    Layout customization<\/h3>\n

    The layout files control the structure and placement of different elements on the storefront. Magento uses the XML-based layout language to define the layout for different pages. The layout XML files are located in the app\/design<\/code> directory.<\/p>\n

    Step 7: Add additional functionality with custom modules<\/h2>\n

    Magento offers a modular architecture that allows you to create custom modules to add specific functionalities to your store. Let’s explore how to create a simple custom module.<\/p>\n

    Create the module directory structure<\/h3>\n

    Inside the app\/code<\/code> directory, create a new directory structure for your module. For example, if your module is named “CustomModule”, the directory structure would be: app\/code\/CustomModule\/HelloWorld<\/code>.<\/p>\n

    Create the module registration file<\/h3>\n

    Inside the module directory (app\/code\/CustomModule\/HelloWorld<\/code>), create a new file called registration.php<\/code> with the following code:<\/p>\n

    <?php\n\nMagentoFrameworkComponentComponentRegistrar::register(\n    MagentoFrameworkComponentComponentRegistrar::MODULE,\n    'CustomModule_HelloWorld',\n    __DIR__\n);\n<\/code><\/pre>\n

    Create the module configuration file<\/h3>\n

    Create a new file named module.xml<\/code> inside the module directory (app\/code\/CustomModule\/HelloWorld\/etc<\/code>) with the following content:<\/p>\n

    <?xml version=\"1.0\"?>\n<config xmlns_xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi_noNamespaceSchemaLocation=\"urn:magento:framework:Module\/etc\/module.xsd\">\n    <module name=\"CustomModule_HelloWorld\" setup_version=\"1.0.0\"\/>\n<\/config>\n<\/code><\/pre>\n

    Create a controller<\/h3>\n

    Create a new directory named Controller<\/code> inside the module directory (app\/code\/CustomModule\/HelloWorld\/Controller<\/code>), and inside that, create a new file called Index.php<\/code> with the following code:<\/p>\n

    <?php\n\nnamespace CustomModuleHelloWorldController;\n\nuse MagentoFrameworkAppActionAction;\nuse MagentoFrameworkAppActionContext;\nuse MagentoFrameworkViewResultPageFactory;\n\nclass Index extends Action\n{\n    protected $resultPageFactory;\n\n    public function __construct(Context $context, PageFactory $resultPageFactory)\n    {\n        $this->resultPageFactory = $resultPageFactory;\n        parent::__construct($context);\n    }\n\n    public function execute()\n    {\n        return $this->resultPageFactory->create();\n    }\n}\n<\/code><\/pre>\n

    Create a route configuration file<\/h3>\n

    Create a new file named routes.xml<\/code> inside the module directory (app\/code\/CustomModule\/HelloWorld\/etc\/frontend<\/code>) with the following content:<\/p>\n

    <?xml version=\"1.0\"?>\n<config xmlns_xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi_noNamespaceSchemaLocation=\"urn:magento:framework:App\/etc\/routes.xsd\">\n    <router id=\"standard\">\n        <route id=\"helloworld\" frontName=\"helloworld\">\n            <module name=\"CustomModule_HelloWorld\"\/>\n        <\/route>\n    <\/router>\n<\/config>\n<\/code><\/pre>\n

    Test the custom module<\/h3>\n

    Flush the Magento cache by running the following command from the Magento root directory:<\/p>\n

    php bin\/magento cache:flush\n<\/code><\/pre>\n

    Now, open a web browser and navigate to your-domain.com\/helloworld<\/code>. You should see a blank page.<\/p>\n

    Congratulations! You have successfully created a custom module in Magento.<\/p>\n

    Conclusion<\/h2>\n

    In this tutorial, we learned how to build an e-commerce website with Magento and PHP. We covered the installation and configuration of Magento, customization options, front-end customization using themes, templates, and layouts, and how to extend Magento’s functionality using custom modules. With Magento’s powerful features and flexibility, you have the tools to create and manage a successful e-commerce store. Happy selling!<\/p>\n","protected":false},"excerpt":{"rendered":"

    How to Build an E-commerce Website with Magento and PHP In this tutorial, we will explore how to build a fully functional e-commerce website using Magento and PHP. Magento is a powerful and popular e-commerce platform that allows you to create and manage your online store with ease. With its Continue Reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","footnotes":""},"categories":[1],"tags":[35,1443,238,437,1444,237,233],"yoast_head":"\nHow to Build a E-commerce Website with Magento and PHP - Pantherax Blogs<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Build a E-commerce Website with Magento and PHP\" \/>\n<meta property=\"og:description\" content=\"How to Build an E-commerce Website with Magento and PHP In this tutorial, we will explore how to build a fully functional e-commerce website using Magento and PHP. Magento is a powerful and popular e-commerce platform that allows you to create and manage your online store with ease. With its Continue Reading\" \/>\n<meta property=\"og:url\" content=\"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/\" \/>\n<meta property=\"og:site_name\" content=\"Pantherax Blogs\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-04T23:14:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-05T05:47:59+00:00\" \/>\n<meta name=\"author\" content=\"Panther\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Panther\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t \"@context\": \"https:\/\/schema.org\",\n\t \"@graph\": [\n\t {\n\t \"@type\": \"Article\",\n\t \"@id\": \"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/#article\",\n\t \"isPartOf\": {\n\t \"@id\": \"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/\"\n\t },\n\t \"author\": {\n\t \"name\": \"Panther\",\n\t \"@id\": \"http:\/\/localhost:10003\/#\/schema\/person\/b63d816f4964b163e53cbbcffaa0f3d7\"\n\t },\n\t \"headline\": \"How to Build a E-commerce Website with Magento and PHP\",\n\t \"datePublished\": \"2023-11-04T23:14:05+00:00\",\n\t \"dateModified\": \"2023-11-05T05:47:59+00:00\",\n\t \"mainEntityOfPage\": {\n\t \"@id\": \"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/\"\n\t },\n\t \"wordCount\": 975,\n\t \"publisher\": {\n\t \"@id\": \"http:\/\/localhost:10003\/#organization\"\n\t },\n\t \"keywords\": [\n\t \"\\\"build\\\"\",\n\t \"\\\"Magento\\\"\",\n\t \"\\\"online store\\\"\",\n\t \"\\\"PHP\\\"\",\n\t \"\\\"Website builder\\\"]\",\n\t \"\\\"website development\\\"\",\n\t \"[\\\"e-commerce website\\\"\"\n\t ],\n\t \"inLanguage\": \"en-US\"\n\t },\n\t {\n\t \"@type\": \"WebPage\",\n\t \"@id\": \"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/\",\n\t \"url\": \"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/\",\n\t \"name\": \"How to Build a E-commerce Website with Magento and PHP - Pantherax Blogs\",\n\t \"isPartOf\": {\n\t \"@id\": \"http:\/\/localhost:10003\/#website\"\n\t },\n\t \"datePublished\": \"2023-11-04T23:14:05+00:00\",\n\t \"dateModified\": \"2023-11-05T05:47:59+00:00\",\n\t \"breadcrumb\": {\n\t \"@id\": \"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/#breadcrumb\"\n\t },\n\t \"inLanguage\": \"en-US\",\n\t \"potentialAction\": [\n\t {\n\t \"@type\": \"ReadAction\",\n\t \"target\": [\n\t \"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/\"\n\t ]\n\t }\n\t ]\n\t },\n\t {\n\t \"@type\": \"BreadcrumbList\",\n\t \"@id\": \"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/#breadcrumb\",\n\t \"itemListElement\": [\n\t {\n\t \"@type\": \"ListItem\",\n\t \"position\": 1,\n\t \"name\": \"Home\",\n\t \"item\": \"http:\/\/localhost:10003\/\"\n\t },\n\t {\n\t \"@type\": \"ListItem\",\n\t \"position\": 2,\n\t \"name\": \"How to Build a E-commerce Website with Magento and PHP\"\n\t }\n\t ]\n\t },\n\t {\n\t \"@type\": \"WebSite\",\n\t \"@id\": \"http:\/\/localhost:10003\/#website\",\n\t \"url\": \"http:\/\/localhost:10003\/\",\n\t \"name\": \"Pantherax Blogs\",\n\t \"description\": \"\",\n\t \"publisher\": {\n\t \"@id\": \"http:\/\/localhost:10003\/#organization\"\n\t },\n\t \"potentialAction\": [\n\t {\n\t \"@type\": \"SearchAction\",\n\t \"target\": {\n\t \"@type\": \"EntryPoint\",\n\t \"urlTemplate\": \"http:\/\/localhost:10003\/?s={search_term_string}\"\n\t },\n\t \"query-input\": \"required name=search_term_string\"\n\t }\n\t ],\n\t \"inLanguage\": \"en-US\"\n\t },\n\t {\n\t \"@type\": \"Organization\",\n\t \"@id\": \"http:\/\/localhost:10003\/#organization\",\n\t \"name\": \"Pantherax Blogs\",\n\t \"url\": \"http:\/\/localhost:10003\/\",\n\t \"logo\": {\n\t \"@type\": \"ImageObject\",\n\t \"inLanguage\": \"en-US\",\n\t \"@id\": \"http:\/\/localhost:10003\/#\/schema\/logo\/image\/\",\n\t \"url\": \"http:\/\/localhost:10003\/wp-content\/uploads\/2023\/11\/cropped-9e7721cb-2d62-4f72-ab7f-7d1d8db89226.jpeg\",\n\t \"contentUrl\": \"http:\/\/localhost:10003\/wp-content\/uploads\/2023\/11\/cropped-9e7721cb-2d62-4f72-ab7f-7d1d8db89226.jpeg\",\n\t \"width\": 1024,\n\t \"height\": 1024,\n\t \"caption\": \"Pantherax Blogs\"\n\t },\n\t \"image\": {\n\t \"@id\": \"http:\/\/localhost:10003\/#\/schema\/logo\/image\/\"\n\t }\n\t },\n\t {\n\t \"@type\": \"Person\",\n\t \"@id\": \"http:\/\/localhost:10003\/#\/schema\/person\/b63d816f4964b163e53cbbcffaa0f3d7\",\n\t \"name\": \"Panther\",\n\t \"image\": {\n\t \"@type\": \"ImageObject\",\n\t \"inLanguage\": \"en-US\",\n\t \"@id\": \"http:\/\/localhost:10003\/#\/schema\/person\/image\/\",\n\t \"url\": \"http:\/\/2.gravatar.com\/avatar\/b8c0eda5a49f8f31ec32d0a0f9d6f838?s=96&d=mm&r=g\",\n\t \"contentUrl\": \"http:\/\/2.gravatar.com\/avatar\/b8c0eda5a49f8f31ec32d0a0f9d6f838?s=96&d=mm&r=g\",\n\t \"caption\": \"Panther\"\n\t },\n\t \"sameAs\": [\n\t \"http:\/\/localhost:10003\"\n\t ],\n\t \"url\": \"http:\/\/localhost:10003\/author\/pepethefrog\/\"\n\t }\n\t ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Build a E-commerce Website with Magento and PHP - Pantherax Blogs","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/","og_locale":"en_US","og_type":"article","og_title":"How to Build a E-commerce Website with Magento and PHP","og_description":"How to Build an E-commerce Website with Magento and PHP In this tutorial, we will explore how to build a fully functional e-commerce website using Magento and PHP. Magento is a powerful and popular e-commerce platform that allows you to create and manage your online store with ease. With its Continue Reading","og_url":"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/","og_site_name":"Pantherax Blogs","article_published_time":"2023-11-04T23:14:05+00:00","article_modified_time":"2023-11-05T05:47:59+00:00","author":"Panther","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Panther","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/#article","isPartOf":{"@id":"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/"},"author":{"name":"Panther","@id":"http:\/\/localhost:10003\/#\/schema\/person\/b63d816f4964b163e53cbbcffaa0f3d7"},"headline":"How to Build a E-commerce Website with Magento and PHP","datePublished":"2023-11-04T23:14:05+00:00","dateModified":"2023-11-05T05:47:59+00:00","mainEntityOfPage":{"@id":"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/"},"wordCount":975,"publisher":{"@id":"http:\/\/localhost:10003\/#organization"},"keywords":["\"build\"","\"Magento\"","\"online store\"","\"PHP\"","\"Website builder\"]","\"website development\"","[\"e-commerce website\""],"inLanguage":"en-US"},{"@type":"WebPage","@id":"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/","url":"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/","name":"How to Build a E-commerce Website with Magento and PHP - Pantherax Blogs","isPartOf":{"@id":"http:\/\/localhost:10003\/#website"},"datePublished":"2023-11-04T23:14:05+00:00","dateModified":"2023-11-05T05:47:59+00:00","breadcrumb":{"@id":"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/localhost:10003\/how-to-build-a-e-commerce-website-with-magento-and-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/localhost:10003\/"},{"@type":"ListItem","position":2,"name":"How to Build a E-commerce Website with Magento and PHP"}]},{"@type":"WebSite","@id":"http:\/\/localhost:10003\/#website","url":"http:\/\/localhost:10003\/","name":"Pantherax Blogs","description":"","publisher":{"@id":"http:\/\/localhost:10003\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/localhost:10003\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/localhost:10003\/#organization","name":"Pantherax Blogs","url":"http:\/\/localhost:10003\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/localhost:10003\/#\/schema\/logo\/image\/","url":"http:\/\/localhost:10003\/wp-content\/uploads\/2023\/11\/cropped-9e7721cb-2d62-4f72-ab7f-7d1d8db89226.jpeg","contentUrl":"http:\/\/localhost:10003\/wp-content\/uploads\/2023\/11\/cropped-9e7721cb-2d62-4f72-ab7f-7d1d8db89226.jpeg","width":1024,"height":1024,"caption":"Pantherax Blogs"},"image":{"@id":"http:\/\/localhost:10003\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"http:\/\/localhost:10003\/#\/schema\/person\/b63d816f4964b163e53cbbcffaa0f3d7","name":"Panther","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/localhost:10003\/#\/schema\/person\/image\/","url":"http:\/\/2.gravatar.com\/avatar\/b8c0eda5a49f8f31ec32d0a0f9d6f838?s=96&d=mm&r=g","contentUrl":"http:\/\/2.gravatar.com\/avatar\/b8c0eda5a49f8f31ec32d0a0f9d6f838?s=96&d=mm&r=g","caption":"Panther"},"sameAs":["http:\/\/localhost:10003"],"url":"http:\/\/localhost:10003\/author\/pepethefrog\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/posts\/4140"}],"collection":[{"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/comments?post=4140"}],"version-history":[{"count":1,"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/posts\/4140\/revisions"}],"predecessor-version":[{"id":4396,"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/posts\/4140\/revisions\/4396"}],"wp:attachment":[{"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/media?parent=4140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/categories?post=4140"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/localhost:10003\/wp-json\/wp\/v2\/tags?post=4140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}