DEV Community

Shafia Rahman Chowdhury
Shafia Rahman Chowdhury

Posted on • Edited on

2

Create an account and deploy an Express APP on render

Render এ ডিপ্লয় করার জন্য এই স্টেপ গুলো ফলো করুনঃ

১) কোড গুলো GitHub এ পুশ করে নিতে হবে।

২) render এর ওয়েবসাইটে (https://render.com/) গিয়ে signup এ যাবেন এবং GitHub এ ক্লিক করবেন। এরপর, Authorize Render বাটন এ ক্লিক করবেন এবং তারপর Complete signup বাটন এ ক্লিক করলে আপনার ইমেইল এ একটা Verification Email পাঠানো হবে এবং Verification লিঙ্কটি ক্লিক করলে আপনার render account ক্রিয়েট হবে।

৩) আপনার Dashboard এ New বাটন এ ক্লিক করে Web Service এ ক্লিক করবেন।

Image description

৪) Configure account এ ক্লিক করবেন।

Image description

৫) এরপর, আপনার GitHub account এ ক্লিক করবেন।

Image description

৬) Only select repositories এ ক্লিক করে আপনার একটা server side এর প্রোজেক্ট choose করবেন। এরপর, install বাটনে ক্লিক করবেন।

Image description

৭) connect এ ক্লিক করবেন এবং একটা unique name দিবেন।
ক.
Image description

খ.
Image description

৮) Render এ account ক্রিয়েট করার আগে,deploy করার আগে এবং GitHub এ পুশ করার আগে অবশ্যই এই নিচের কোডটি অ্যাড করবেন package.json এ।

Image description

এটা অ্যাড করলে আপনার Render এই অংশটা automatic অ্যাড হয়ে যাবে

Image description

এই কোডটি অ্যাড না করলে একটা এরর ফেস করতে পারেন।

৯) এরপর নিচে স্ক্রল করলে একটা Advanced বাটন দেখতে পাবেন। সেখানে ক্লিক করে আপনার environment variables গুলো add করবেন এবং Create Web Service এ ক্লিক করবেন।

Image description

৯) Create Web service এ ক্লিক করলে আপনার build process স্টার্ট হবে এবং আপনি এরকম একটা এরর ফেস করতে পারেন

Image description

এইটার সমাধান হচ্ছে আপনাকে Environment এ গিয়ে আরেকটা Environment variable অ্যাড করতে হবে

Key তে রাখবেন NODE_VERSION
value তে রাখেবন আপনার computer এ installed করা node version টা

নিচের ইমেজটা দেখলে আশা করি বুঝতে পারবেনঃ

Image description

কি ভাবে node এর version চেক করতে পারেবন?

আপনার CMD তে গিয়ে এই নিচের কমান্ডটা দিলে আপনি আপনার node version চেক করতে পারবেন।

node -v
Enter fullscreen mode Exit fullscreen mode

১০) Save Changes এ ক্লিক করার পর Manual deploy তে ক্লিক করবেন এবং Deploy latest commit এ ক্লিক করবেন

Image description

১১) Build process টা কমপ্লিট হওয়ার পর লিঙ্কটা ভিসিট করলে আপনি আপনার ডাটা গুলো দেখতে পাবেন।

Image description

Happy deploying!!!

Image of Quadratic

AI, code, and data connections in a familiar spreadsheet UI

Simplify data analysis by connecting directly to your database or API, writing code, and using the latest LLMs.

Try Quadratic free

Top comments (0)

The discussion has been locked. New comments can't be added.

AI Agent image

How to Build an AI Agent with Semantic Kernel (and More!)

Join Developer Advocate Luce Carter for a hands-on tutorial on building an AI-powered dinner recommendation agent. Discover how to integrate Microsoft Semantic Kernel, MongoDB Atlas, C#, and OpenAI for ingredient checks and smart restaurant suggestions.

Watch the video 📺

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay