
The first thing we will do is to dockerize all our applications, that include the backend in Deno, the frontend in React, the Mongo DB, later we will also add NGINX to it. In this first part of the course, we will create a docker-compose file to help us manage all this Docker containers
Let's create a Docker file to keep our React application
Let's create a Docker file to keep our Deno application
Learn to build and run a React app in Docker using Docker Compose, map code into containers, and fix path and volume issues while coordinating the front-end and API.
Launch a Deno server using Oak by importing modules from URLs, exporting the app, and reading environment variables for host and port to run locally on localhost.
Hey guys,
For some reason this video is missing, I'm doing my best to find and re-upload, luckily it was a short video creating our first route in main.ts, route that is going to be exported on the very next video, the peace of code missing is inline 10 and it is this:
router.get('/', (context: any) => {
context.response.body = 'Hello from Oak';
});
I'm really sorry about this, hopefully, this message will be replaced very soon and you will be able to watch all the explanation I give on the video once it is here.
Thank you for your understand,
Icaro
Create our first controller and define a get method returning a hardcoded to do as json with context handling. Prepare for future mongo integration and test with postman.
Connect Deno to MongoDB with a third-party client, configure dependencies, and export a database interface from a helper module; then connect to the MongoDB service in docker-compose.
Learn to save your first value in MongoDB by creating a database and collection, inserting a to-do document, and verifying the write with MongoDB Compass.
Learn how to implement a singleton pattern to manage a MongoDB connection with a static getInstance method, enabling a single database instance and safe data posting.
Update a Mongo record using updateOne and $set for partial field changes while bypassing create-time validation. Learn to validate input, handle empty bodies, and test updates with Postman.
Explore Validasaur limitations around notNull, requiredWhen, and optional fields, troubleshoot a bug, and learn practical workarounds when undefined values occur in validation rules.
Set the content-type header to application/json for a get endpoint by setting headers on response; learn to apply headers across endpoints and anticipate a reusable solution in the next class.
You just found the most comprehensive online resource on Deno, React Mongo, Docker, Docker-Compose and NIGNX available to date. This project-based course will introduce you, step by step to all of the modern tools that all top the line Deno and React developer should know in 2020.
We will build together a strong foundation during the course of this project, starting with Docker and Docker-Compose.
We will learn how to Dockerize all the applications we will need, creating no one or two Docker containers but four, we will learn how:
Create a Docker Image to host our Deno Application with hot-reload function
Create a Docker Image to host our Rect Drag'n'Drop application also with hot-reload
Create a Dockerized MongoDB container where we will map the data to a volume on our machine, so we never miss the data.
Create an NGINX Docker container to proxy the request between the API requests and the Front-End Requests.
And all that is just the beginning, we will also:
Setup Visual Studio to an extra fast development
Install all the necessary tools together
Learn how to create a Deno server using Oak
Learn how to connect Deno with MongoDB
Learn how to validate our data using Validasour
Make how to make our React application look Amazing with UiKit
Learn how to mutate state directly using Immer
Take Axios to make HTTP connections to its extreme
Learn step by step, the main hooks in react:
useState
useEffect
useReducer
useCallback
useMemo
and many custom hooks we will create
All you need to know to set up NGINX in Docker
The curriculum is going to be very hands-on as we walk you from start to finish of releasing a professional-grade Deno and React project from your development machine all the way into production.
We jump directly into the deep end and get our hands dirty, however along the way we will cover all Deno basics and then going into advanced topics so you can make right decisions on architecture and tools on any of your future Deno and React projects.
All code will be provided, and you will get access to the full project code, so signing up for the course will give you a project to put on their portfolio right away, and did I already say it is a full amazing Drag'n'Drop project noting like any other online course ever covered?
The topics covered in this course are:
3 reasons why this course is unlike anything out there:
1. You will build the most significant project you will find out there using Deno.
2. You will have an instructor that consults all over the world, solving the worst problems a company can have and train their employers, teaching you exclusively.
3. This course will always be evolving and updating as the landscape changes
With all that said, all you need to do is to...
Click ENROLL NOW and see you inside the course!