Opt 1 - via Standard Method
git clone https://github.com/servexyz/prisma-authorized-starter
(required)git clone https://github.com/servexyz/aws-sls-auth-starter
(required)git clone http://github.com/servexyz/aws-sls-auther
(optional)npm install
dependencies across directories
Opt 2 - via Repogen
git clone https://github.com/servexyz/prisma-authorized-starter
npm install -g repogen
repogen .repogen.js
requires 2 terminal tabs/windows
cd prisma-authorized-starter && npm start
cd aws-sls-auther starter && npm start
- Replace
aws-sls-auther
with your own custom authentication functions.
What | Where | Why |
---|---|---|
AUTHER_ENDPOINT |
aws-sls-auther, prisma-service | Prefixed to Route types |
PRISMA_ENDPOINT |
prisma-service | Init GraphQLServer |
Where | Why |
---|---|
prisma-service/src |
Our service which utilizes Prisma |
prisma-service/database |
MySQL |
What | Where |
---|---|
Our Service | localhost:4000 |
Prisma | localhost:4466 |
Database | localhost:3306 |