1.20.5 • Published 6 days ago

@smartgift/frontend-toolkit v1.20.5

Weekly downloads
-
License
MIT
Repository
github
Last release
6 days ago

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

## Smartwool

# 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 main 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 info@smartgift.it

# License

MIT

1.20.5-beta.0

6 days ago

1.20.5

6 days ago

1.20.2-beta.0

6 days ago

1.20.2-beta.1

6 days ago

1.20.1-alpha.1

7 days ago

1.20.1-alpha.0

7 days ago

1.20.2

7 days ago

1.20.3

7 days ago

1.20.4

7 days ago

1.19.1-beta.2

13 days ago

1.20.1-beta.0

13 days ago

1.20.1

17 days ago

1.20.0

21 days ago

1.19.1-beta.1

24 days ago

1.19.1

26 days ago

1.19.1-beta.0

26 days ago

1.18.0-beta.0

26 days ago

1.19.0

27 days ago

1.18.0

1 month ago

1.17.1

2 months ago

1.17.0

2 months ago

1.16.1

2 months ago

1.16.0

2 months ago

1.15.1

2 months ago

1.15.0

2 months ago

1.14.0

2 months ago

1.13.0

2 months ago

1.12.1-beta.0

2 months ago

1.12.1

2 months ago

1.12.0

2 months ago

1.11.0

3 months ago

1.10.3

3 months ago

1.10.2

3 months ago

1.9.0-beta.0

3 months ago

1.10.1

3 months ago

1.8.1-beta.10

3 months ago

1.8.1-beta.11

3 months ago

1.9.1

3 months ago

1.8.1-beta.7

3 months ago

1.8.1-beta.8

3 months ago

1.8.1-beta.9

3 months ago

1.8.1-beta.3

3 months ago

1.8.1-beta.4

3 months ago

1.8.1-beta.5

3 months ago

1.8.1-beta.6

3 months ago

1.10.0

3 months ago

1.8.1-beta.0

3 months ago

1.8.1-beta.1

3 months ago

1.8.1-beta.2

3 months ago

1.9.0

3 months ago

1.8.1

3 months ago

1.8.0

3 months ago

1.7.10

4 months ago

1.7.11

4 months ago

1.7.12

4 months ago

1.7.9-beta.1

4 months ago

1.7.9

4 months ago

1.7.9-beta.0

4 months ago

1.7.8

4 months ago

1.7.7-beta.1

4 months ago

1.7.7

4 months ago

1.7.6

4 months ago

1.7.7-beta.0

4 months ago

1.7.5

4 months ago

1.7.4

4 months ago

1.7.3

4 months ago

1.7.2

4 months ago

1.7.1

4 months ago

1.7.0

4 months ago

1.6.6

4 months ago

1.6.5

4 months ago

1.6.4

4 months ago

1.6.3

4 months ago

1.6.2

4 months ago

1.5.4

4 months ago

1.5.3

4 months ago

1.6.1

4 months ago

1.5.2

4 months ago

1.6.0

4 months ago

1.5.1

4 months ago

1.2.0

5 months ago

1.1.0

5 months ago

1.5.0

5 months ago

1.4.0

5 months ago

1.3.0

5 months ago

1.0.0-alpha.22

5 months ago

1.0.0-alpha.25

5 months ago

1.0.0-alpha.24

5 months ago

1.0.0-alpha.19

5 months ago

1.0.0-alpha.9

5 months ago

1.0.0-alpha.8

5 months ago

1.0.0-alpha.7

5 months ago

1.0.0-alpha.6

5 months ago

1.0.0-alpha.10

5 months ago

1.0.0-alpha.5

5 months ago

1.0.0-alpha.4

5 months ago

1.0.0-alpha.3

5 months ago

1.0.0-alpha.16

5 months ago

1.0.0-alpha.15

5 months ago

1.0.0-alpha.18

5 months ago

1.0.0-alpha.17

5 months ago

1.0.0-alpha.12

5 months ago

1.0.0-alpha.11

5 months ago

1.0.0-alpha.14

5 months ago

1.0.0-alpha.13

5 months ago

1.0.0-alpha.21

5 months ago

1.0.0-alpha.20

5 months ago

1.0.0-alpha.2

5 months ago

1.0.0-alpha.1

5 months ago

1.0.0-alpha.0

5 months ago

1.0.0

8 months ago

0.8.28-beta.26

8 months ago