Bhaumin
Bhaumin
DDeno
Created by Bhaumin on 9/20/2024 in #help
How to run mocha with deno
@marvinh. can you please help us here, it's blocker for us so...please
4 replies
DDeno
Created by Bhaumin on 9/20/2024 in #help
How to run mocha with deno
still getting same error with below deno.json file
{
"unstable": [
"bare-node-builtins",
"byonm"
],
"tasks": {
"test:deno": "deno run -A npm:mocha"
}
}
{
"unstable": [
"bare-node-builtins",
"byonm"
],
"tasks": {
"test:deno": "deno run -A npm:mocha"
}
}
4 replies
DDeno
Created by Bhaumin on 9/19/2024 in #help
Import built-in Node module from deno.json imports
ok thanks!
5 replies
DDeno
Created by Bhaumin on 9/19/2024 in #help
Import built-in Node module from deno.json imports
we tried to add it in import map as you said but getting error: If you want to use a built-in Node module, add a "node:" prefix (ex. "node:url").
5 replies
DDeno
Created by Bhaumin on 9/7/2024 in #help
Handle routes for multiple domains using Fresh and Deno
can you help me to define top level router to route to them? and how deno project should connect? we want to have only one deno project for this
9 replies
DDeno
Created by Bhaumin on 9/7/2024 in #help
Handle routes for multiple domains using Fresh and Deno
can you help us to define routes per subdomain for folder structure like below
routes/
index.tsx
_middleware.ts // Subdomain routing middleware
src/
domain1/
routes/
_middleware.ts
index.tsx
otherRoutes.tsx // Additional routes for domain1
_layout.tsx
domain2/
routes/
_middleware.ts
index.tsx
otherRoutes.tsx // Additional routes for domain2
_layout.tsx
routes/
index.tsx
_middleware.ts // Subdomain routing middleware
src/
domain1/
routes/
_middleware.ts
index.tsx
otherRoutes.tsx // Additional routes for domain1
_layout.tsx
domain2/
routes/
_middleware.ts
index.tsx
otherRoutes.tsx // Additional routes for domain2
_layout.tsx
we tried to find how to set routes folders for sub domains like above in fresh but didnt get anything.
9 replies
DDeno
Created by Bhaumin on 9/7/2024 in #help
Handle routes for multiple domains using Fresh and Deno
ok thanks for clarity
9 replies
DDeno
Created by Bhaumin on 9/5/2024 in #help
Routes with Deno and Fresh
haha ok thanks
22 replies
DDeno
Created by Bhaumin on 9/5/2024 in #help
Routes with Deno and Fresh
@marvinh. Can you please help us here?
22 replies
DDeno
Created by Bhaumin on 9/7/2024 in #help
Handle routes for multiple domains using Fresh and Deno
@marvinh. Can you please help us here?
9 replies
DDeno
Created by Bhaumin on 9/5/2024 in #help
Routes with Deno and Fresh
@marvinh. We want to route traffic from the main.ts only for all the sub domains and for frontend and backend of all subdomain and main domain also Like domain.com Api.domain.com Docs.domain.com Admin.domain.com Then what should be main TS code like async manner to handle traffic or how? Can you please help to implement this? And is this the right approach or not?
22 replies
DDeno
Created by Bhaumin on 9/5/2024 in #help
Routes with Deno and Fresh
Okay thanks
22 replies
DDeno
Created by Bhaumin on 9/5/2024 in #help
Routes with Deno and Fresh
Okay thanks a lot for clarifying. So the conclusion is good to go with fresh for all types of routing also as of now. Right?
22 replies
DDeno
Created by Bhaumin on 9/5/2024 in #help
Routes with Deno and Fresh
Haha... What will you suggest for the best possible performance? Should we adopt fresh for all? Or should we implement things based on deno serve? Or should we build our own router for everything? Or should we adopt a url paths based router?
22 replies
DDeno
Created by Bhaumin on 9/5/2024 in #help
Routes with Deno and Fresh
What do you suggest?
22 replies
DDeno
Created by Bhaumin on 9/5/2024 in #help
Routes with Deno and Fresh
What's advisable? Using fresh for routing all the things in saas like frontend, backend and everything?
22 replies
DDeno
Created by Bhaumin on 9/5/2024 in #help
Routes with Deno and Fresh
hey thanks for the reply. we are going to serve frontend and backend both.. so wanted to know that is it possible to have only one ts file which serves fresh for frontend and deno serve native routing for backend? and if fresh uses Deno.serve under the hood then if we use fresh for both frontend and backend is there any trade offs in terms of performance?
22 replies
DDeno
Created by Bhaumin on 7/29/2024 in #help
Please help to run puppeteer with deno?
Haha ok cool.
23 replies
DDeno
Created by Bhaumin on 7/29/2024 in #help
Please help to run puppeteer with deno?
So we should ditch Puppeteer by using astral?
23 replies
DDeno
Created by Bhaumin on 7/29/2024 in #help
Please help to run puppeteer with deno?
Can you please share issue link?
23 replies