GithubHelp home page GithubHelp logo

colornativ / storefront-nuxt3-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from plentymarkets/plentyshop-pwa

0.0 0.0 0.0 3.35 MB

Nuxt 3 Storefront Boilerplate

License: MIT License

Shell 0.09% JavaScript 0.79% TypeScript 40.32% Vue 58.64% Dockerfile 0.09% SCSS 0.07%

storefront-nuxt3-boilerplate's Introduction

Vue Storefront

plentysystems logo

Vue Storefront 3 Integration With plentysystems

GitHub Repo stars X Follow YouTube Channel Subscribers Discord

Welcome to the plentysystems integration for Vue Storefront 3. For a technical overview of the repository structure, refer to the Guide. The rest of the README details how to configure your plentysystems system and get started with the project.

plentysystems system setup

To run this project, you need a plentysystems system. Get a free 30-day trial on our website or choose one of the available editions.

Plugins

💡 New systems ship with the required plugins pre-installed. If you use a new system, skip to the next step.

For plentyShop PWA to run, you have to install plugins that provide additional REST routes and providers. Carry out the following steps:

  1. Log into your plentysystems system.
  2. Install the following plugins in the latest version:
    • IO
    • plentyShop LTS
    • PayPal
    • Cash in advance
    • Pay upon pickup
    • DHL Shipping (Versenden)
    • Customer feedback
  3. Set the priorities of the plugins, so that IO has the highest priority and plentyShop LTS the second highest. The priorities of all other plugins remains 0.

System configuration

  1. Log into your plentysystems system.
  2. Go to Setup » Guided Tours and complete Setting up plentyShop.
  3. Optional: Go to Setup » Orders » Payment » PayPal and set up your PayPal account. If you skip this step, remove the PayPal component from the app.

Local dev setup

This section describes how to run the project locally.

Prerequisites

Download Node.js from the official website or use nvm to switch to a compatible version. For installation instructions for Yarn, refer to the Yarn documentation.

Repository fork

We recommend working with a fork of this repository. A fork allows you to easily incorporate updates from this boilerplate into your own codebase.

  1. Create a fork.
  2. Clone the forked repository.

Configuration

  • Open middleware.config.ts and replace url with the URL of your plentysystems system.
  • Open i18n.config.ts and nuxt.config.ts to update the locales. The locale settings have to match the plentysystems system settings. The fallbackLocale and defaultLocale have to match the system default language.
  • Open nuxt.config.ts to manage your pwa.workbox settings. Workbox provides libraries and tools for Progressive Web App functionality.
  • Open tailwind.config.ts to update your theme.
  • Open cookie.config.ts to manage your consent cookies.

Authentication

This project queries data from plentysystems by using other NPM packages as middleware. These packages are published on the GitHub registry. To download packages from GitHub's registry, you have to authenticate. To enable authentication, carry out the following steps:

  1. In the root directory, create a new file called .yarnrc.yml.
  2. Copy the contents of .yarnrc.yml.example to .yarnrc.yml.
  3. In yarnrc.yml, replace <TOKEN> with the Personal Access Token you created earlier.

Git doesn't track yarnrc.yml, so you don't have to worry about exposing your token.

Starting the app

  1. Open the repository in your command line interface.
  2. Run yarn to install all dependencies.
  3. Run yarn dev to start the development server. The app will be served with hot reload at localhost:3000.

Deployment

This section describes how to deploy your app on your live domain.

plentysystems system

  1. Log into your plentysystems system.
  2. Go to CMS » Deployment.
  3. Click on :plus: to add a new application.
  4. Fill in the required information.
  5. Create the application.

Copy the Access key to your clipboard. You'll need it in the next part.

GitHub

  1. In your forked repository, create 2 encrypted secrets:

    • URL_ENDPOINT: TODO
    • URL_ENDPOINT_TOKEN: The Access key from the previous part.
  2. In your forked repository, enable the GitHub Action Add zip file to S3 bucket from upload.yml. Update the trigger conditions to determine when to upload your repository to your plentysystems system.

Resources

Features

Vue Storefront

License

Distributed under the MIT License. See LICENSE for more information.

Contributing

Please see our contributing.md for more information.

Support

If you have any questions about this integration we will be happy to answer them on the plentymarkets channel of the Vue Storefront Discord.

storefront-nuxt3-boilerplate's People

Contributors

abocsan-plenty avatar fabiangerke avatar maxiroellplenty avatar ksted avatar rbedeoan-plenty avatar dawid-ziobro avatar tim-m-s avatar szymon-dziewonski avatar doproiescu-plenty avatar rbadici-plenty avatar justyna-13 avatar frsgit avatar marcin-saja avatar renovate[bot] avatar lukaszjedrasik avatar bedeoan avatar dominik2809 avatar maciejwolowski avatar dependabot[bot] avatar orzechpawel avatar lukasborawski avatar filrak avatar maciejpankiewicz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.