Published 10/2023
Created by Dastagir Ahmed
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English | Duration: 12 Lectures ( 1h 45m ) | Size: 1.2 GB
Flutter nodejs api building course
What you’ll learn
Flutter NodeJS course
Flutter NodeJS restful api
Flutter Firebase chat
Flutter Provider app
Requirements
Flutter SDK installed and knows how to run a basic Flutter app
Description
This is a Nodejs and Flutter complete app for beginners to advanced level. Here in tutorial we will use Mongodb for our database and JWT for authentication and socket for chatting.app previewonboarding screenlogin screenregister screenresume pageupload picture screenedit screenjob home screenjob search screenjob view screenchatting screenchatting list screenWe have also build real time chatting with firebase, so that you learn how to do chatting with flutter, nodejs, mongodb.Frontend Flutter we started from onboarding screen to login to chatting app. We have used Provider package for managing state.Provider is one of the most popular package for managing states and easy to follow. As far as flutter framework goes, we have used the latest version to create this tutorial.This tutorial covers more than 12 hours which is enough to finish all these. You will start with a starter file and finish with an excellent complete app.1. Initializing the Express AppTo kickstart our project, we begin by setting up a Node.js app with Express. By leveraging the simplicity and flexibility of Express, we can quickly establish a solid foundation for our backend architecture.2. Parsing JSON DataTo handle JSON data, we incorporate the “express json” middleware. This enables us to effortlessly parse incoming JSON requests, simplifying the handling and manipulation of data within our application.3. Integrating dotenv for Environment VariablesSecuring sensitive information is paramount, especially when dealing with credentials or API keys. By integrating the dotenv package, we can load environment variables from a .env file, ensuring that sensitive data remains confidential.4. Authentication with Encrypted PasswordsTo enhance security, we employ the crypto-js library to encrypt passwords securely. Additionally, we utilize the jsonwebtoken library to sign tokens for authentication purposes. These measures help safeguard user data and prevent unauthorized access.5. Separating Logic into ControllersTo maintain clean and organized code, we extract the logic from our routes and encapsulate them within separate controllers. By doing so, we ensure a clear separation of concerns and promote code reusability.6. Utilizing Middleware for Route ProtectionTo add an extra layer of security, we implement middleware functions that protect specific routes from unauthorized access. This ensures that only authenticated users can access protected endpoints.7. Creating Specialized Controllers and RoutesTo handle different functionalities efficiently, we create distinct controllers for various features within our REST API. These include controllers for messaging, bookmarking, job management, user operations, and authentication. Each controller is accompanied by dedicated routes to handle specific API endpoints.8. Connecting MongoDB to the ApplicationTo store and retrieve data, we integrate MongoDB into our application. This NoSQL database provides a flexible and scalable solution. We also explore the basics of MongoDB, such as creating search indices to optimize query performance.9. Testing Endpoints and API DocumentationTo ensure the correctness and reliability of our endpoints, we run tests using tools like Postman. Additionally, we cover the creation of collections and the utilization of environments within Postman, facilitating efficient API testing and documentation.10. Preparing for DeploymentTo prepare our application for deployment, we discuss the necessary steps to take. This includes creating a repository on a platform like GitHub, adding files to the repository, and excluding unwanted files from commits. These practices contribute to maintaining a clean and well-structured codebase.11. Deployment with RailwayFinally, we explore the process of deploying our server using Railway, a platform that simplifies the deployment of Node.js applications. By following the outlined steps, we ensure that our application is accessible to users and operates reliably in a production environment.
转载请注明:0daytown » Flutter Nodejs Api Course | Job Finder App Tutorial