All Projects → helloiamelliot → Elliot Serverless Ecommerce

helloiamelliot / Elliot Serverless Ecommerce

Licence: mit
Elliot - Serverless eCommerce Storefront. 100% headless & serverless. Built with Next.js & one-click deployable on Vercel. 100% cross border ready; deploy, sell & ship to 130+ countries instantly, no credit card required. Join us as contributor ([email protected]).

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Elliot Serverless Ecommerce

Portkey
Live-coding the Cloud
Stars: ✭ 139 (-5.44%)
Mutual labels:  serverless
Serverless Sam
Serverless framework plugin to export AWS SAM templates for a service
Stars: ✭ 143 (-2.72%)
Mutual labels:  serverless
Aws Lambda Libreoffice
85 MB LibreOffice to fit inside AWS Lambda compressed with Brotli
Stars: ✭ 145 (-1.36%)
Mutual labels:  serverless
Scar
Deploy static websites in seconds - with HTTPS, a global CDN, and custom domains.
Stars: ✭ 1,715 (+1066.67%)
Mutual labels:  serverless
Serverless Pg
A package for managing PostgreSQL connections at SERVERLESS scale
Stars: ✭ 142 (-3.4%)
Mutual labels:  serverless
Refunc
A lib make building AWS Lambda compatible layer easily
Stars: ✭ 144 (-2.04%)
Mutual labels:  serverless
Flogo
Project Flogo is an open source ecosystem of opinionated event-driven capabilities to simplify building efficient & modern serverless functions, microservices & edge apps.
Stars: ✭ 1,891 (+1186.39%)
Mutual labels:  serverless
Serverless Sentry Plugin
This plugin adds automatic forwarding of errors and exceptions to Sentry (https://sentry.io) and Serverless (https://serverless.com)
Stars: ✭ 146 (-0.68%)
Mutual labels:  serverless
Serverless Dynamodb Autoscaling
Serverless Plugin for Amazon DynamoDB Auto Scaling configuration.
Stars: ✭ 142 (-3.4%)
Mutual labels:  serverless
Literature Clock
Clock using time quotes from the literature, based on the work of Jaap Meijers
Stars: ✭ 145 (-1.36%)
Mutual labels:  serverless
Skypad
Skypad
Stars: ✭ 141 (-4.08%)
Mutual labels:  serverless
Faas Netes
Serverless on Kubernetes with OpenFaaS
Stars: ✭ 1,875 (+1175.51%)
Mutual labels:  serverless
Denyenv Validating Admission Webhook
An Kubernetes validating admission webhook that rejects pods that use environment variables.
Stars: ✭ 144 (-2.04%)
Mutual labels:  serverless
Tcb Demo Basic
小程序·云开发系列教程——基础能力DEMO
Stars: ✭ 140 (-4.76%)
Mutual labels:  serverless
Selfie2anime
Anime2Selfie Backend Services - Lambda, Queue, API Gateway and traffic processing
Stars: ✭ 146 (-0.68%)
Mutual labels:  serverless
Booster
Booster Cloud Framework
Stars: ✭ 136 (-7.48%)
Mutual labels:  serverless
Amplify Photo Sharing Workshop
Building full-stack cloud apps with AWS Amplify and React
Stars: ✭ 143 (-2.72%)
Mutual labels:  serverless
Jets
Ruby on Jets
Stars: ✭ 1,915 (+1202.72%)
Mutual labels:  serverless
Azure Function Express
⚡️Allows Express.js usage with Azure Functions
Stars: ✭ 146 (-0.68%)
Mutual labels:  serverless
Serverless Book
A book about the http://serverless.com Framework v1
Stars: ✭ 144 (-2.04%)
Mutual labels:  serverless

Elliot's Vercel Next.js Ecommerce Boilerplate

ELLIOT X VERCEL

Features

  • Deploy, sell and fulfill in seconds
  • Fully localized: multi-currency and language, duties and taxes (DDP - Delivered Duty Paid)
  • Native cross border fulfillment: packing, shipping and return labels, commercial invoices and custom declarations forms
  • Instant global payments: Apple, Google, Ali and WeChat Pay, plus all major credit cards and leading payment options (Klarna, iDEAL)
  • Static SSR for collections, products and all simple pages, in 100+ languages
  • Fast and high performing (90%+ across a11y, Performance, and SEO)
  • Fully customizable
  • Mobile-first and fully responsive
  • Cutting-edge project structure and architecture (GraphQL, Next.js and serverless)
  • Continuous deployment with Vercel

Prerequisites

Create an Elliot account

Start by creating a store and add a few products to it!

Yarn or NPM

Online

  1. Login on Elliot

  2. Choose a domain space

  3. Click on "Get Headless"

  4. Follow the onboarding and you will be good to go!

  5. For the env variables names, use the following:

    NEXT_PUBLIC_ELLIOT_ENV_VARIABLES
    NEXT_PUBLIC_BASE_URL
    

To enable Apple Pay, you will have to get the Apple verification file and place it under /public/.well-known/

Follow this Guide to get the Apple verification file

You might have to upgrade your Vercel account in order to prolonge the serverless function running time to go over 10 seconds in order to enable all the benefits of SSG on run time

Video tutorial

Locally

  1. Install Vercel CLI

  2. Follow the Online steps

  3. Clone your GitHub repository and run vercel env pull .env.local to get your environment variables from Vercel dashboard

  4. Run the following commands to start the server locally on port 3001:

    yarn run dev
    

Custom theme

You can easily customize the theme by changing the values on the theme config here

Core Team

If you're new and need some guidance feel free reach out to any of our core team members:

Structure

.
├── src
│   ├── assets              # Assets used including the default thumbnail of the website
│   ├── components          # Components
│   │   │── cart              # Components used on the cart page
│   │   │── checkout          # Components used on the checkout page
│   │   │── common            # Common components
│   │   │── listing           # Components used on the landing page
│   │   │── product           # Components used on the product page
│   │   │── shipping          # Components used on the checkout page
│   │   └── theme             # Header, Footer, global style and theme config
│   ├── config              # Config variables
│   ├── helpers             # Helpers functions
│   │   │── buildtime         # queries run on build time
│   │   │── constants         # constants
│   │   │── i18n              # functions to get browser's locale and anything related to i18n
│   │   │── payment           # payment logic
│   │   │── runtime           # queries run on run time
│   │   │── shipping          # shipping logic
│   │   └── ...               # 3 files, alert out of stock, attributes and isEmpty without lodash
│   ├── hoc                 # Higher order components
│   ├── hooks               # Custom hooks
│   ├── lang                # i18n json files
│   ├── pages               # Pages
│   │   │── [lang]            # To have a page for each language supported
│   │   │   │── collection            # Collection page
│   │   │   │   └── [slug]
│   │   │   │── product               # Product page
│   │   │   │   └── [slug]
│   │   │   │── about                 # About page
│   │   │   │── cart                  # Cart page
│   │   │   │── checkout              # Checkout page
│   │   │   │── failed-order          # Failed order page
│   │   │   │── faqs                  # Faqs page
│   │   │   │── index                 # Home page
│   │   │   │── privacy-policy        # Privacy policy page
│   │   │   │── return-policy         # Return policy page
│   │   │   │── successful-order      # About page
│   │   │   └── terms-and-conditions  # Terms and conditions page
│   │   │── _app
│   │   │── _document
│   │   │── _error
│   │   │── product
│   │   │── shipping
│   │   └── _error
│   ├── providers           # Providers
│   ├── queries             # GraphQL queries we run during build time
│   ├── reducers            # Reducers
│   └── scripts             # Scripts meant to be executed before building the website
└── public/.well-known/    # Where you'd put the Apple verification file

Built with

  • Next.js
  • React
  • VSCode
  • And these useful JavaScript libraries package.json

Want to contribute?

Want to invest some time in building the future of global commerce? Email us at [email protected].

If you have discovered a 🐜 or have a feature suggestion, feel free to create an issue on Github.

Enabling Digital Wallets

To enable wallets such as Apple Pay, your Vercel package will need a verification file from Elliot.

To receive that verification file, and be added to our Slack, email our Partnerships team.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].