npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@smartgift/frontend-toolkit

v1.33.0-beta.3

Published

<p align="center"> <img src="https://cdn.heroengage.com/merchants/flowers/images/smartgift-logo-web.svg" width="450"> </p>

Downloads

1,640

Readme

portfolio

linkedin

twitter

instagram

SmartCheckout contains two apps as Dashboard and Recipient and a common frontend UI Kit for SmartGift. The project allows merchants to sent their products with email, sms or link.

  • Dashboard is a app that allows brands to create the campaigns and sent them to the customers and it shows selling analytics.

  • Recipient is a app that transforms users to product buying links.

  • ui is a common frontend UI Kit for SmartGift.

# Workspace Applications

  • smart-checkout-recipient
  • smart-checkout-dashboard

# Installation

Clone the project

  git clone https://github.com/SmartGiftEngineering/smartgift-frontend-workspace.git

Go to the project directory

  cd smartgift-frontend-workspace

Install dependencies

  yarn

Start the recipient server

  yarn scr:dev

Start the dashboard server

  yarn scd:dev

Open the address on your browser for the recipient app

  http:/localhost:4200/YOUR_GIFT_LINK
  Real => http:/localhost:4200/campaign?recipientCode=Q9WCQWC5V0M1&campaignCode=FKMCRLPNFFB8&selectedSku=97564G
  Demo => http:/localhost:4200/campaign?campaignCode=FKMCRLPNFFB8&selectedSku=97564G

Open the address on your browser for the dashboard app

  http://localhost:4200/auth/login

# Tech Stacks

# Abbreviations

  • sc === SmartCheckout
  • scr === smart-checkout-recipient
  • scd === smart-checkout-dashboard
  • ui === smartgift-ui-library

# Scripts

Based on the application shortcuts, you can use these scripts

  • yarn appName:dev => You can develop your development with this script
  • yarn appName:build => You can get build of appName lib
  • yarn appName:lint => You can lint your code
  • yarn ui:lint:fix => You can fix lint errors
  • yarn appName:test => You can test your code

Example: yarn scr:dev

# Environment Variables

You can look at the file which name is '.env.example' on root

# How to create a merchant

  • go to apps/smart-checkout-recipient/public/merchants, then copy and paste a merchant folder and rename it with your merchant name (after your merge this merchant data will be in the S3 bucket as json)
  • add your merchant domain to the 'MERCHANT_LIST' variable in the '.env' file. by this convention: 'DOMAIN_NAME:MERCHANT_NAME' (ex: '1800flowers.smart-checkout.co:1800flowers')

# Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

# Applications / Environments

## 1800flowers

  • uat => https://1800flowers.uat.smart-checkout.co
  • prod => https://1800flowers.smart-checkout.co

## Smartwool

  • uat => https://smartwool.uat.smart-checkout.co
  • prod => https://smartwool.smart-checkout.co

# Deployment

To deploy this project on UAT, follow these instructions and AWS UI.

  git checkout uat
  git pull origin uat
  git pull YOUR_BRANCH
  git push origin uat

To deploy this project on Production, you need to merge all of your branched to master branch. It will be an automatic deployment. Also, you can check the AWS UI.

# Documentation

Documentation

# Features

  • Multiple Theme
  • Live previews
  • CDN configs, theme, language

# Feedback & Support

If you have any feedback, please reach out to us at [email protected]

# License

MIT