Deploy Node.js REST API on CYCLIC | CRUD | Express | MongoDB Atlas

Поділитися
Вставка
  • Опубліковано 10 вер 2024
  • Hello everyone! In this video, we will deploy Node.js REST API on the Cyclic Hosting Platform. This API was built by using the express framework and MongoDB atlas cloud database.
    --------
    Note:
    Using MongoDB - Atlas Configuration
    Cyclic apps do not have static IPs for whitelisting with Atlas and Cyclic does not offer private networking on the free tier.
    Setting 0.0.0.0/0 will enable access to your service cluster from all IPs and make it possible for services to authenticate via a connection string.
    --------
    You will learn how to:
    ➤ Build and Deploy in seconds.
    ➤ Make use of Cyclic Hosting Platform
    ➤ Connect Node.js Rest API to the MongoDB atlas cloud database
    Cyclic - cyclic.sh/
    Cyclic Docs - docs.cyclic.sh/
    GitHub Repo - github.com/kal...
    An alternative solution using Render - • Deploy Node.js REST AP...
    ➤ Support me by COMMENT, LIKE, SUBSCRIBE, and SHARE
    ➤ Channel link - / @webwizard8
    Happy learning!
    ➤ Licence:
    Song: AXM - Hope
    Music provided by Vlog No Copyright Music.
    Video Link: bit.ly/3NqAaVb
    #nodejs #restapi #cyclic #expressjs #mongodbatlas #crud #webdevelopment #backenddevelopment #apidevelopment #fullstack #javascript #webdevtips #mongodb #deploymenttutorial #cyclicplatform #api #server #deployment #database #nodeapitutorial #cyclicdeployment #mongodbcrud #expresscrud #backendtutorial #fullstackdevelopment #webapp #cyclicplatformtutorial #codingtutorial #restapidevelopment #webdev #programming

КОМЕНТАРІ • 17

  • @KulcsarRudolf
    @KulcsarRudolf 10 місяців тому +1

    I found this video to be quite helpful, and I want to express my gratitude for your hard work. It appears that Cyclic would be an ideal choice for my API. Thank you!

    • @webwizard8
      @webwizard8  10 місяців тому +1

      I'm glad to hear that you found the video helpful! Your appreciation means a lot to me. Thank you for watching and for your support! ❤️

  • @magenta1797
    @magenta1797 9 місяців тому

    I have somehow never had to add the database name to my mongodb uri string..? Despite having multiple databases in a single cluster. Thank you so much for going over this quickly and in depth. I was stuck for a few hours.

  • @aronejerome
    @aronejerome 11 місяців тому

    You just posted what i need. Tysm

    • @webwizard8
      @webwizard8  10 місяців тому

      Glad to hear! Thank you for watching and explore the channel to see more content!

  • @vamsireddy5648
    @vamsireddy5648 5 місяців тому

    why u did not make a post call

  • @umeshjyani1568
    @umeshjyani1568 Рік тому +1

    Please make a video on crud api using node and mongodb and after making this also hosts it and use in simple js

  • @nwaformicah433
    @nwaformicah433 5 місяців тому

    Nice video but i have a question, why is it that cyclic is not sending my verification email i send with node mailer. Can it do that when i upgrade to usage plan?

    • @webwizard8
      @webwizard8  5 місяців тому

      I believe you are trying to verify your account with cyclic, I wonder why do you programmatically verify your account?
      One suggestion I can give is that your account details should be as human friendly as possible while registering with any platform

    • @nwaformicah433
      @nwaformicah433 5 місяців тому

      @@webwizard8 no, what am saying is that. When a user register to my website, I send verification email for him to verify his account and then login but cyclic is not sending out the verification email. Am welling to upgrade to pay plan it that will solve the problem because I really need that to work. How can I verify a user that has just registered if my server cannot send out verification email for a user to verify or even reset his or her password?

  • @nchannel8898
    @nchannel8898 8 місяців тому

    I have a limit 240mb so i build faild

  • @sarthakkamble9864
    @sarthakkamble9864 11 місяців тому

    Great video just one more question after deploying what if i want to create a frontend in react using this deployed api should i keep the frontend folder in another repository or in the same repository with the backend?

    • @webwizard8
      @webwizard8  10 місяців тому

      Generally, you have two options:
      1. You can deploy your frontend separately with its own repository, CI/CD, and hosting server.
      2. You can deploy the frontend and backend in the same repository with separate folders, such as client or frontend and server or backend. However, ensure that your frontend routes do not conflict with backend API routes.

  • @naylord5
    @naylord5 Рік тому

    Hi! Thank you for the hint.
    Do you recommend this platform to deploy a Nest.js backend?
    It is possible to configure CI/CD easily with github actions or so?

    • @webwizard8
      @webwizard8  Рік тому +1

      Yes, Cyclic should be able to deploy Nest.js applications like any other Node.js application, But you should update your package.json file for the start script command like "start": "node dist/main"
      As far as what I've understood Cyclic deploys code onto serverless infrastructure on AWS, I'd recommend - docs.cyclic.sh/overview/architecture
      I don't think Cyclic allows us to set up our own CI/CD pipeline with platforms like GitHub Actions, Did not find any documentation on their platform.
      If you want to set up your own CI/CD pipeline with GitHub Actions then I'd recommend watching my tutorial to get an idea of what it looks like to set - ua-cam.com/video/cgWXQqL-ZU8/v-deo.html

    • @naylord5
      @naylord5 Рік тому

      @@webwizard8 Thank you for the insights!
      Definitely worth checking the platform and all the capabilities because is becoming more rare to find generous free / hobby tiers in actual PaaS.

  • @arupde6320
    @arupde6320 8 місяців тому +1

    be regular ...