|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/mern-react-node-aws/
课程评论:没有评论
课程名称:React Next.js Node API AWS - 构建可扩展的MERN栈应用 课程概述:本课程旨在教会学员如何使用MERN栈构建一个具备高度可扩展性的真实项目,以支持未来可能会被数百万用户使用的新创企业。我们将介绍如何启动一个具有稳固架构的项目,以便于不断增长。 技术栈:在客户端,我们将使用React和Next.js(React框架)。为了构建API/服务器,我们会使用Node、Express和MongoDB。此外,将利用AWS服务,如S3进行文件存储,SES发送邮件,EC2进行云托管,IAM进行身份和访问管理,Route 53进行域名管理,并设置自定义规则/策略。同时,我们会使用Mongo Atlas作为云端的托管数据库服务。 项目构建内容:我们将构建一个受成功真实应用启发的新创项目,允许多用户登录并管理他们提交的内容。在构建类似项目的过程中,我们会加入一些改进,使其具备无限可扩展性及易于维护的特点,目标是降低运营成本,并提升用户使用的方便性和互动性。 项目目标:我们的应用旨在吸引数百万的潜在用户,用户可以是寻找在线课程、视频或文章的人,也可以是内容创作者,如讲师、YouTuber、博客和教程作者、书籍作者等。他们能够注册/登录我们的应用,分享和管理自己的链接,并在仪表板上更新或删除这些链接,借此获取免费流量,引起人们的关注。 项目概述: - 登录/注册系统 - 无需担心如何管理数百万用户上传的文件,AWS S3将负责文件存储。 - 使用AWS SES提供强大的邮件服务,确保以最低成本发送电子邮件给成千上万的用户。 - 使用AWS EC2托管后端Node.js API及React/Next.js前端,同时确保低成本运营。 我们的目标是通过AWS服务解决存储和数据库扩展问题,以便开发者能够专注于项目的维护和未来扩展。架构将简洁明了,易于维护,同时分离后端API和前端,以简化开发、代码维护和部署。 课程适合对象:如果你希望利用已有的React和Node知识构建一个真实世界中的可扩展应用,那么本课程将非常适合你。在这个项目的基础上,你可以实现你一直梦想的大项目,或帮助初创公司启动成功的商业想法。机会无限,不努力就不会实现梦想。加入我,一起将梦想变为现实!
Master the art of building a highly scalable real world project using MERN Stack for a new startup that will scale infinitely. I will demonstrate how you could launch a project that will have a solid architecture to grow in future to be used by potentially millions of users.Tech stackWe will be using React and NextJS (React Framework) in the client side.We will build an API/server using Node Express MongoDB.We will use AWS services such as S3 for files storage, SES for sending emails and EC2 for cloud hosting IAM for Identity and access management Route 53 for domain management along with custom rules/policy.We will use Mongo Atlas as Managed Database Service in the cloud.What we will build?Build a startup project inspired by a successful real world app (discussed more in the lectures) where multiple users can login and post/manage contents they submit.While building similar project, we will add few improvements to make it infinitely scalable and easier to maintain Aim for low cost of operation and implement some functionalities to make much easier, fun and engaging for users to use.Aim of the projectTarget millions of potentials users to use and engage with our appUsers could be anyone.. who finds a course, video or articles online.likes it and wants to shareThe links they share will also be available in their dashboard for update/deleteA user could be someone who is a content creator like me.instructors, youtubers, blog and tutorial writers, book authors etcUsers will signup/signin to our app to post/share/like the links/urls Users will do this to get free traffic.to get people's attention.sharing links for freeOverview of the project Login/Register SystemNeed a MongoDB that scale infinitely. We will use Mongo Atlas for this requirement.Need a massive storage system that scale infinitely to store user uploaded image files. We will use AWS S3 (Simple Storage Service) for this requirement.You never have to worry about how to manage millions of user uploaded files.let AWS take care of that! S3 pricing is the lowest in the market for storing infinite amount of data that is readily available worldwide throughout AWS data centers globally.Need robust email service for sending emails for hundreds of thousands of users. We will use AWS SES (Simple Email Service) for this requirement.You never have to worry about how to send email to millions and pay higher price.let AWS take care of that! their rate of SES is the lowest in the market.We will be using AWS EC2 (Elastic Compute Cloud) for hosting our backend NodeJS API and React/Next JS frontend, all within one instance.Keep the cost as low as possible by using AWS services for storage, email and hosting.The biggest issues of scaling web apps are storage and database scaling. That part will be handled by AWS. So we as a developer don't have to worry.Our aim is to enable just 1 or 2 developer to maintain the entire project and continuously grow in future.Clean simple and easy to maintain project architectureExtremely simple architecture that is easy to maintain and scaleSeparate backend API and frontend built with react/nextjs for easy development, code maintenance and deploymentKeep the frontend as simple as possibleScenario 1 > You create a page in react to do certain task. For example it fetch the data from your API/Server and put that data on the web page for user to see. Job done.Scenario 2 > You create admin page to create a new post. For example to post the data to your API/Server and show the returned response of either success or error. Job done.Keep the backend API as simple as possibleScenario 1 > You have a GET route. For example '/api/posts'. You will receive a request from react/frontend for getting all posts from database.You pass this request to a controller method. Controller method/function will make a query to database, get all posts and return back to react/frontend. Job done.Scenario 2 > You have a POST route. For example '/api/create/post'. You will receive data from react/frontend to create a new post. You pass that data to a controller method.Controller method/function will save that data in database and return the success response, which will be sent back to react. Job done.This is the logic of our app or basically any web app out there. The cycle of requests/responses. Request from frontend, Response from server.Are you ready for this course?If you are looking to utilize your existing knowledge of react and node to build a real world app that scales then this course is for you. Based on this project you can build that next big thing that you have always dreamed of. Or you could be using this knowledge to help startups kick off their successful business ideas. The possibilities are endless. Dream is dream unless you put an effort to make it real. Make your effort by taking this course. I will help you turn your dream to reality. Join me in this course and make it happen!