Giter Site home page Giter Site logo

pobeno17 / theme-basic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from idatariver/theme-basic

0.0 0.0 0.0 2.26 MB

Independent e-commerce website solution based on iDataRiver. Easily sell your digital products. 一款基于VUE3(Nuxt3)的高颜值卡密发卡独立站前端,基于Vercel可免服务器部署,适合个人的自动发卡电商独立站解决方案。

Home Page: https://docs.idatariver.com/zh/guide/04.01.merchant.html

JavaScript 1.74% TypeScript 28.13% CSS 0.48% Vue 69.65%

theme-basic's Introduction

En 中文

iDataRiver Theme(Basic)

This project is an open-source independent website project by iDataRiver.

For project/product management, please go to iDataRiver Console -> Project Management.

Business Guide / Demo / Issues

Community

Features

Supported by iDataRiver's backend capabilities

This project is connected to the merchant open API of the iDataRiver platform, so it can directly use the data + payment + risk control + security capabilities provided by iDataRiver.

Merchants only need to configure it in the console to use it directly, without having to face the complex and costly underlying implementation.

SEO optimization

The project uses SSR (server-side rendering) technology, so search engines can better index website info.

Highly flexible custom script support

Merchants can add custom JS scripts in the console to greatly increase functional flexibility.

Automatic support for global multi-language translation

Not only does the project itself support multiple languages, it also supports intelligent translation of project/product descriptions into 18 languages ​​by default, making your business truly global.

First-level agent function

The project is fully compatible with the agent function of the platform merchants. For detailed introduction, see document.

Provide basic API encryption

Provides basic API signature encryption functions and also supports merchants to customize signature secret, effectively increasing the threshold for attacks such as ddos.

Secondary development

For developers, you can read Merchant Open API for secondary development.

Deploy

This project is developed based on Nuxt3 and can be directly deployed on platforms such as Vercel.

If you have no deployment experience, you can choose Quick Deployment Solution.

If you have some deployment experience, you can manually deploy it according to the following steps:

1. Fork this project to your own Github account

fork this project

2. Register a Vercel account, bind the Github account in step 1, and authorize access to the forked project

The Vercel account needs to be bound to your mobile phone number. You can use our SMS Service to protect your privacy.

3. Create a new project in the Vercel console and import the project from step 2:

Create a project on Vercel vercel create project

Add project access permissions vercel add project access permissions

Import the project to be deployed vercel import project

Start deploying the project and set the following environment variables:

NUXT_IDATARIVER_MERCHANT_SECRET

Deployment secret, this parameter must be filled in, which can be obtained after configuration in Merchant Settings -> Website of the iDataRiver Console.

NUXT_PUBLIC_API_ENCRYPT_KEY

Optional parameter, used to customize the encryption signature at the API level to obtain better security protection, and its value can be set by yourself.

vercel deployment project

After setting the above environment variables, click Deploy to deploy, and wait for about a minute for your website to be successfully deployed.

vercel project deployed successfully

4. Bind domain name

If you don't have a domain name yet, it is strongly recommended to use the Simple Domain Name service provided by iDataRiver to fully protect your privacy.

After the deployment is successful, click the Domains and follow the specified operations.

vercel enters domain name configuration

Add your domain name:

vercel binds domain name

Finally, add the corresponding DNS records to the domain name.

Use CloudFlare to host your domain

You can use CloudFlare to host your domain for free, you need to configure it as follows:

After adding the DNS records required by Vercel (proxy mode).

cloudflare adds dns resolution

Set the domain's SSL/TLS to full end-to-end encryption

cloudflare is set to full end-to-end encryption

5. Finally

Now, your website has been successfully deployed and launched.

If you need to upgrade to the latest version after a period of time, there are two ways:

  1. Delete the original project in Vercel, and then follow the above steps again.

  2. Manually Sync the project you fork on Github, and then manually trigger a deployment in Vercel.

theme-basic's People

Contributors

idatariver avatar arvingill 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.