I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
import { PrismaClient } from '@prisma/client'; | |
import Shopify from '@shopify/shopify-api'; | |
import { Session } from '@shopify/shopify-api/dist/auth/session'; | |
const prisma = new PrismaClient(); | |
module.exports.storeCallback = async function storeCallback(session){ | |
console.log('Running storeCallback') | |
const payload = { ...session } |
# Insomnia Configuration | |
## Run the test query | |
{ | |
shop { | |
id | |
name | |
} | |
} | |
# Query Structure Examples |
import axios from 'axios' | |
import React from 'react' | |
import { | |
Stack, | |
Thumbnail, | |
TextStyle, | |
Card, | |
Pagination, | |
Spinner, | |
TextContainer |
/** | |
Possible Carrier Codes: | |
- UPS | |
- USPS | |
- FEDEX | |
- AIRBORNE_EXPRESS | |
- DHL | |
- DHL_GLOBAL_ECOMMERCE | |
- US_ASCENDIA | |
- US_DTDC |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
<?xml version="1.0" encoding="UTF-8"?> | |
<persistence xmlns="http://java.sun.com/xml/ns/persistence" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" | |
version="2.0"> | |
<persistence-unit name="funkopop" transaction-type="RESOURCE_LOCAL"> | |
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider> | |
<properties> | |
<property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/funkopop" /> | |
<property name="javax.persistence.jdbc.user" value="admin" /> |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
{ | |
"Console Log": { | |
"prefix": "cl", | |
"body": "console.log($1);", | |
"description": "Console Log" | |
}, | |
"Named Function": { | |
"prefix": "nfn", | |
"body": ["function ${1:functionName}($2) {", " $3", "}"], | |
"description": "Named Function" |