Original article: https://aralroca.com/blog/learn-deno-chat-app
Node.js was writtern initially by Ryan Dahl on 2009 (in C++). Ryan left Node.js in...
For further actions, you may consider blocking this person and/or reporting abuse
Very soon... "We need a deno dev with at least 5 years of experience"
should be already somewhere if you search enough, lol xddd
Hi, great article! I was following this and wanted to add my own stylesheet. So I made an external stylesheet and tried to load it in the html, but now the browser gets stuck at the request to the stylesheet in browser, the request stays pending.
Is there anything different I need to do? I think I need to include it in Deno static assets somehow?
This is because you are only serving the
index.html
file on the server. You also need to serve the file with your styles. Normally a better way is just to serve apublic
dir with all the statics / assets.Wow man that's a really clear and complete guide to get started with Deno. Thank you very much !
Little typo for the tests part :
| To run all tests, we just need to execute deno test.
|
➜ deno deno test
I guess it's just
deno test
😉hehe thanks! This is because I worked in a folder named deno... hah! I'm going to change it! Thank you
In the article, you mentioned that v1.0.0 is being released on the 13th of March 2020. I assume this is a typo? 😝
Great article by the way! Deno looks promising.
It's May yes. It's a typo. I'm going to fix It! Thanks
It is not a typo...the project has been going on for long and the wait for 1.0.0 is over.
The latest version in overall is 1.0.0-rc2, not 1.0.0. Both are different. 🙂
image
I know that, v1. 0.0 will be released on May 13th so what the author said is not a typo
Got this example working in Deno 1.0.0 with debugging and breakpoints in VSCode. But for some reason VSCode refuses to show
console.log()
outputs. Ideas to why?Great article. First tutorial for deno I have seen.
what is main difference between nodejs and deno
Deno is an improvement on the mistakes made in Nodejs as mentioned by its creator.
Watch this video from the inventor of Node.js who is the inventor of Deno who describes the 10 biggest regrets he has about design mistakes he made in Node.js youtu.be/M3BM9TB-8yA
here is well explained deno.land/manual#comparison-to-nodejs
Thanks for found time writing this.
Awesome! Let's be among the first people to learn it when it's officially out!
How can you deploy deno like we did in nodejs by using something like forever or pm2?
I know we can use docker. I just want to know other ways.
You can use pm2 with deno, pm2 can run non-node stuff.
That's very interesting.
Do you know how is the caching of libraries locally with this new approach?
Is centralised for all your projects in the same folder. If you run
deno info
you can see where is stored.Nice tutorial
thanks for the tutorial :)
Very useful introduction, not too complex, not too vague. Thx man !
Great article! Any suggestions for a good Deno webhost for small projects?
You can use Vercel, that is free for personal projects. To add deno on Vercel you can follow this: github.com/lucacasonato/now-deno
This is very cool! I didn't know Deno was ready to use it!
you have a typo in "Dino 1.0.0"
Thank you so much! I'm going to fix it now!
does it compile the .ts file into .js one or does it directly run ts files?