- Видео 4
- Просмотров 22 842
potato coder
Филиппины
Добавлен 23 июн 2018
Hi I'm Potato Coder, sharing some of my learning journey in software development.
Hope you learned and enjoyed my videos.
You can support this channel by simply subscribing and sharing also to others.
Thank you.
Hope you learned and enjoyed my videos.
You can support this channel by simply subscribing and sharing also to others.
Thank you.
Journey To Full-stack Typescript: Simple CRUD with NestJS and MongoDB
FIRST PART OF THE VIDEO:
bit.ly/2xQBEQ9
PROJECT GIT REPO:
github.com/GregFuntera/movie-project-with-mongodb
In our previous video we’ve created a simple project that can fetch, delete and add some data in our mock list.
Now we will try to store them locally in a database.
We will be using MongoDB as our database for this project.
We’ll continue to enhance our previous project to perform a simple CRUD database app.
REFERENCES:
Nest Documentation Link: docs.nestjs.com/
Nest MongoDB Guide: docs.nestjs.com/techniques/mongodb
Nest Pipes Guide: docs.nestjs.com/pipes
MEDIA:
Sounds: bit.ly/2N87yNW
Big thank you! for watching the video :D
bit.ly/2xQBEQ9
PROJECT GIT REPO:
github.com/GregFuntera/movie-project-with-mongodb
In our previous video we’ve created a simple project that can fetch, delete and add some data in our mock list.
Now we will try to store them locally in a database.
We will be using MongoDB as our database for this project.
We’ll continue to enhance our previous project to perform a simple CRUD database app.
REFERENCES:
Nest Documentation Link: docs.nestjs.com/
Nest MongoDB Guide: docs.nestjs.com/techniques/mongodb
Nest Pipes Guide: docs.nestjs.com/pipes
MEDIA:
Sounds: bit.ly/2N87yNW
Big thank you! for watching the video :D
Просмотров: 3 891
Видео
Journey To Full-stack Typescript: Getting Started with NestJS
Просмотров 2,3 тыс.6 лет назад
SECOND PART OF THE VIDEO: ruclips.net/video/A2_2UMvoIBQ/видео.html Sharing my learning journey to be a full-stack typescript developer. We will be using nestJS a nodeJS framework for building our basic server side application. Full guide can viewed here: bit.ly/2BMcPdp FOR REFERENCE NestJS link: nestjs.com/ Nodemon link: nodemon.io/ Download Postman here: www.getpostman.com/ Project Repo: githu...
Deploy Your NodeJS Project Using Heroku
Просмотров 2196 лет назад
Full guide here: bit.ly/2v9sTQT Before we get started install/register these: Here's the link for the Express Generator: expressjs.com/en/starter/generator.html Here's the link for Nodemon: nodemon.io/ Here's the link for the Heroku: www.heroku.com/ Here's the link for the Heroku CLI: devcenter.heroku.com/articles/heroku-cli Content for .gitignore file: # OS X .DS_Store* Icon? ._* # Windows Thu...
Deploy Angular 6 Project Using Heroku
Просмотров 16 тыс.6 лет назад
Easily deploy your angular project using heroku. Creating your heroku account and deploying your project through CLI. Adding scripts in package.json to build and deploy your project in heroku. View full guide here: bit.ly/2LTDNUk server.js file Copy here: pastebin.com/3N9LaN3L To Know more about creating and deploying projects through heroku you can visit these pages: devcenter.heroku.com/artic...
Awesome video i am very thankfully @potato coder..can i get some more video for middle ware and repository (DOA).
OMG you save my life thanks you
after running git push heoku master , build is failing i dont know why, i checked versions and all but not working
how to update heroku angular app (update app upload again)
My left ear enjoyed the video
Thanks for that cool video.
Thanku sooooo much 😍😍
Background music is soo annoying.
This was very useful. Thanks!
What is the purpose of the annoying hee haw background music?
Cool, thx
Thank you for your video, but i still have at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=******** request_id=07a37fed-bb8f-49e8-853b-5f341040d0c9 fwd="********" dyno= connect= service= status=503 bytes= protocol=https error. Do you have any idea?
i replaced the host and fwd to stars :D
Straight forward, easy to follow especially for those who run into problem when executing the heroku open action. Thank you so much. Deserves more thumbs ups!
Its 4am and i just found your channel, and honestly, i love your videos more than others that are out there, the script for the videos and the guided tutorial makes it very direct, not wasting time at all! Its like reading a documentation, and i love it! Keep up the good work! As a next video suggestion, i would suggest to implement JWT, and with that you would had a basic back end for your app.
Thank a lot for you this video series. Could you please hint how to implement Faker correctly in nestJS?
Hello, potato, I have followed your code and I am sure I am really close to achieving my goal. Nevertheless, I am getting an error (even though the build is well done): 2018-11-16T08:04:50.581584+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=myurl.herokuapp.com 2018-11-16T08:04:51.294450+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=myurl.herokuapp.com Do you know what s going on?
I am also facing the same issue. My app run locally if I start the server or ng serve it. But when I push to Heroku I have this very same error on the log file.
@@rodrigonormando7371 I do not remember exactly how but I think I solved yesterday. My problem was that I was not truly installing express so I reinstall everything with npm I. After it, I build my self the project with ng build --prod --build-optimizer to check that I was actually able to do it, and I got few errors in my code. After correcting then, this error disappeared. Now I m facing another error, but at least this one was solved (my project is not an empty one)
thanks for the video. I had to modify the server.js to work for me instead of: // Replace the '/dist/<to_your_project_name>' app.use(express.static(__dirname + '/dist/<to_your_project_name>')); app.get('*', function(req,res) { // Replace the '/dist/<to_your_project_name>/index.html' res.sendFile(path.join(__dirname + '/dist/<to_your_project_name>/index.html')); i used // Replace the '/dist/<to_your_project_name>' app.use(express.static(__dirname + '/dist/')); app.get('*', function(req,res) { // Replace the '/dist/<to_your_project_name>/index.html' res.sendFile(path.join(__dirname + '/dist/index.html')); and then it worked, hope this helps somebody.
gracias... tenia el mismo problema...
Thanks. It works great for me. All the same, the final touch was that I had to remove all the "ng Build" from the 'package.json' file since Heroku has the full Heroku/NodeJs building AddOn package. Before then, I was always getting the error message that "ng not found" and my deployment fails. My frontend app is developed with an angular 7.0.2 version. Here is a part of my 'package.json' text in case someone else needs it. Pay attention to the "scripts" part. INSTEAD OF: { "name": "xyz", "version": "1.0.0", "license": "Apache", "engines": { "node": "10.16.3", "npm": "6.9.0" }, "scripts": { "ng": "ng", "start": "node server.js", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e", "postinstall": "ng build --aot --prod" }, ....... ...... I NOW HAVE: { "name": "xyx", "version": "1.0.0", "license": "Apache", "engines": { "node": "10.16.3", "npm": "6.9.0" }, "scripts": { "start": "node server.js" }, "private": true, "dependencies": { "@angular-buddies/prettier": "^1.0.0-alpha.3", "@angular/animations": "7.0.2", "@angular/common": "7.0.2", "@angular/compiler": "7.0.2", "@angular/core": "7.0.2", "@angular/forms": "7.0.2", "@angular/http": "7.0.2", "@angular/platform-browser": "7.0.2", "@angular/platform-browser-dynamic": "7.0.2", "@angular/router": "7.0.2", "@ng-bootstrap/ng-bootstrap": "4.0.0", "@ngx-translate/core": "11.0.0", "@ngx-translate/http-loader": "4.0.0", "ajv": "^6.9.1", "chart.js": "2.7.3", "core-js": "2.5.7", "express": "^4.17.1", "font-awesome": "4.7.0", "ng2-charts": "1.6.0", "node": "^10.16.3", "npm": "^6.9.0", "path": "^0.12.7", "rxjs": "6.3.3", "yarn": "1.12.1", "zone.js": "0.8.26" }, "devDependencies": { "@angular-devkit/build-angular": "^0.13.8", "@angular/cli": "7.0.4", "@angular/compiler-cli": "^7.2.14", "@angular/language-service": "7.0.2", "@types/jasmine": "2.8.9", "@types/jasminewd2": "2.0.5", "@types/node": "10.12.2", "codelyzer": "4.5.0", "husky": "^0.14.3", "jasmine-core": "3.3.0", "jasmine-spec-reporter": "4.2.1", "karma": "^4.1.0", "karma-chrome-launcher": "2.2.0", "karma-cli": "1.0.1", "karma-coverage-istanbul-reporter": "2.0.4", "karma-jasmine": "1.1.2", "karma-jasmine-html-reporter": "1.4.0", "lint-staged": "^7.1.2", "prettier": "^1.12.1", "protractor": "5.4.1", "ts-node": "7.0.1", "tslint": "5.11.0", "typescript": "3.1.1" } }
Awesome video... Thanks for your sharing! Keep going. I'm waiting to see more :)
Hello, SH Guitarist thank you so much for your feedback. Will do my best to upload a new video with good content. Once again thank you :D
You are a legend! Great work here again.
Hello Fred, thank you so much for your feedback. Hope the video helped you :)
Thank You...u made the work so simple.
You’re a life saver!
Why is routing not working after deployment? please check this link vvork.herokuapp.com/
I am receiving an error.. Application error and the logs show this :heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/"
Hello Dwayne, sorry haven't encountered this yet did you find a fix?
@@potatocoder3218 yes i do have the same
Wonderful ! I Appreciate this helpful tutorial
Amazing video man, Thank you for sharing and going through this process. If you are looking for other things to make tutorials setting up the flow of the DTO objects to a MongoDB would be cool.
Hi Fred C, sure! will try to upload a video regarding on MongoDB + NestJS. Sorry I'm just busy in these past weeks will try my best to upload a good content. Thank you also
potato coder Don't you dare apologize to me! You are rocking it! Thanks for the new video :)
Thanks for video sharing! can you please make video with nestjs authentication with angularjs login
Hello, Asad Mehboob thanks you also for the comment. Sure! will do that in the future video. Once again thank you and really appreciated your time watching the video.
Thanks for sharing the video. I am very happy to watch this video and one more thing, Can you tell me how to update the particular movie?
Hello Sulthan Mamusa, you can use the @Put() decorator and have a function that will update the movies maybe using also a query string to get the id of movie and have a DTO to map the objects that you need to update. You can use the @Body() classDTO for the mapping the object to you wan to update. I'm very thankful that your happy with the happy. Hoping that you will also interest with the framework :D
I followed all the same steps but when running "heroku open" command its shows not found
Muhammad Haseeb you need to install heroku CLI, devcenter.heroku.com/articles/heroku-cli
its already installed. still i reinstall it. but having same issue after" heroku open" command not found. what to do now?
Hello, M.Haseeb Khan have you tried running in your terminal 'heroku open --app <your_heroku_proj_name>' to view the list of your apps run 'heroku apps' here's a reference: stackoverflow.com/questions/12479668/heroku-open-no-app-specified Alternatively you can view your deployed heroku project in your browser at '<your_heroku_proj_name>.herokuapp.com'
I have the same issue as Muhammad Haseeb. I did everything like in the video and I have also installed Heroku CLI locally. It says that the deploy is done, but when open the application 'heroku open --app <your_heroku_proj_name>' it returns 404 - not found. Running heroku apps command says that I have the expected app.
Hello Stanish Chankov, have you tried manually opening your app via url '<your_heroku_proj_name>.herokuapp.com', alternatively you can check the status of your website in your heroku dashboard.
thanks! This works like a charm
Glad it helped you :)
Thanks, you saved my sanity. I've been trying all week: blogs & courses but they're outdated.
Appreciated your feed back from this video. Thank you