Git Product home page Git Product logo

aws-ssg-ecommerce-jam's Introduction

This repository is a part of MaksimAniskov/aws-ssg-ecommerce.

Content of the repository was derived from jamstack-cms/jamstack-ecommerce.

Disclaimer

The software and data available in this repository are provided "as is" without warranty of any kind, either express or implied. Use at your own risk.

How to use it as a starter for your custom shop implementation

  1. Clone the project
$ git clone https://github.com/MaksimAniskov/aws-ssg-ecommerce-jam.git
  1. Install the dependencies:
$ yarn

# or

$ npm install
  1. Create shop "database" or "install" demo database

Create shop folder and populate it with the data and product images:

$ mkdir shop

or;
Clone the demo database into a folder next to the app's one and create a link to it:

$ cd ..
$ git clone https://github.com/MaksimAniskov/aws-ssg-ecommerce-demoshop.git
$ cd aws-ssg-ecommerce-jam
$ ln -s ../aws-ssg-ecommerce-demoshop shop

Use MaksimAniskov/aws-ssg-ecommerce-demoshop as the reference on data structure.

  1. Create settings.json
$ cp settings.example.json settings.json
$ vi settings.json
  1. Build then run the project
    (Build step is necessary to generate optimized images of products)
$ yarn build
$ yarn develop

# or

$ npm run-script build
$ npm run-script develop

About the project

Tailwind

This project is styled using Tailwind. To learn more how this works, check out the Tailwind documentation here.

Components

The main files, components, and images you may want to change / modify are:

Logo - src/images/logo.png
Buttons, Nav, Header - src/components
Form components - src/components/formComponents
Context (state) - src/context/mainContext.js
Pages (admin, cart, checkout, index) - src/pages
Templates (category view, single item view, inventory views) - src/templates

How it works

As it is set up, inventory and product images are fetched from local files in shop sub-folder. On AWS the files are to be copied from S3 bucket by CodePipeline. See MaksimAniskov/aws-ssg-ecommerce.

aws-ssg-ecommerce-jam's People

Contributors

dabit3 avatar maksimaniskov avatar stav avatar swyxio avatar thorsten-stripe avatar

Watchers

 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.