Load Services, Models and API from Core, Plugins and Project root (#23)
This commit is contained in:
1 parent
9740e9faac
commit
808d0912e3
19 files changed
+1356
-359
No files matched your search
@@ -6,6 +6,7 @@ node_modules
|
||||
!index.js
|
||||
yarn.lock
|
||||
|
||||
/api
|
||||
/services
|
||||
/models
|
||||
/subscribers
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
/lib
|
||||
node_modules
|
||||
.DS_store
|
||||
.env*
|
||||
/*.js
|
||||
!index.js
|
||||
yarn.lock
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "medusa-payment-stripe",
|
||||
"version": "0.1.6-alpha.0",
|
||||
"version": "0.1.26",
|
||||
"description": "Stripe Payment provider for Meduas Commerce",
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
@@ -17,7 +17,8 @@
|
||||
"@babel/plugin-transform-runtime": "^7.7.6",
|
||||
"@babel/preset-env": "^7.7.5",
|
||||
"client-sessions": "^0.8.0",
|
||||
"cross-env": "^5.2.1"
|
||||
"cross-env": "^5.2.1",
|
||||
"eslint": "^6.8.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "babel src --out-dir . --ignore **/__tests__",
|
||||
@@ -26,7 +27,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.7.6",
|
||||
"medusa-interfaces": "^0.1.6-alpha.0"
|
||||
"express": "^4.17.1",
|
||||
"medusa-interfaces": "^0.1.16"
|
||||
},
|
||||
"gitHead": "d3ae95ffe086bf40ffb92724afaefa38e4def25e"
|
||||
"gitHead": "46685ed4c84f313ead741820cda9089465024344"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
import { Router } from "express"
|
||||
|
||||
export default () => {
|
||||
const app = Router()
|
||||
|
||||
app.get("/stripe", (req, res) => {
|
||||
console.log("hi")
|
||||
res.json({
|
||||
success: true
|
||||
})
|
||||
})
|
||||
|
||||
return app
|
||||
}
|
||||
Reference in new issue
Block a user