GithubHelp home page GithubHelp logo

swifilaboroka / gold2ctorder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from popcrumbs-alex/gold2ctorder

0.0 1.0 0.0 25.06 MB

Jewelry store sales funnel, built with Gatsby, Redux, Graphql, NestJS, TypeScript and NodeJS.

Home Page: https://offers.lucianarose.store/

JavaScript 0.51% TypeScript 99.49% Procfile 0.01%

gold2ctorder's Introduction


Reusable Sales Funnel Guide

Startup:

  1. Clone this repo :)
  2. In current dir: Run npm install
  3. Move to server dir: Run npm install

Server Guide

  • Configure new DB either in MongoDB or whatever you wish to use
    DB Url is within the .env file and needs to be reconfigured per store
  • Change shopify api keys depending upon the private app and store
  • Change the payment gateway api keys depending upon app and store
    Current Gateways Include: Paypal and NMI
  • All API endpoints are unopinionated and can be reused for different funnels. There are no product specifc variables within server
  1. The order process API works as follows: Order details are passed through the createOrder resolver.
    Order gets created in database with a status of "pending" it is not until the order has been closed will it be created in shopify.
  2. The user can either get to the thankyou page for the order to be closed and a transaction to be captured
  3. Or, the cron job will look for pending orders and a timeframe, and if the order was created after that time frame. Close it out and capture a transaction.

Client Guide

  1. Configure gatsby-plugin.json for plugins with specific parameters, ie: the Google Analytics Plugin
  2. Redux wrapper is provided in gatsby config already. Not necessary to change any configuration.
  3. Configure apollo client for correct server url, within the gatsby-plugin-apollo directory
  4. All Product data is located within the product directory: update this file for store and product specific data changes, ie: Bump & OTO products
  5. Landing pages are located and should be created within the landers directory under the pages directory
  6. Images will need to be updated, as they are located in a directory labeled images, which is used to provide static rendering for best optimization & performance.
  7. HelmetWrapper component, located in the reusable directory is where all header pixels are located and updated.
  8. BodyTags Component handles all tags that have to be in the body.

gold2ctorder's People

Contributors

alexshiresroth 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.