Server Setup

In this section, we will guide you on how to install the server on your system. Follow all the steps as given below.

Before going to install the server and all things you need to download the following software for the server. we are assuming that you have basic knowledge of commands.

We have attached the go-meeting-server folder inside the package.

  • Follow all the steps and install carefully.

  • Unzip source code file which has full source code of server. Unzip the folder and open in the visual studio code. Insite the terminal of visual studio code : run the command below

    • npm i or npm install

    this command will install all the required packages. after packages are installed successfully., run the below command

    • npm start

you will see that your server will be running on 3001 port, in the browser open the url http://localhost:3001/echo you will see the message "Echo From server"

How to install go-meeting-server on Hosting(we recommended VPS or AWS EC2)

Please not that this will not work on cpanel. you must have vps hosting or aws or any server who is providing terminal access with root.

now we are assuming that you have fresh aws instance ip. login into the terminal and first step is to install npm and node. please follow this link . After that upload the go-meeting-server.zip file on server and unzip it. now go to go-meeting-server using cd go-meeting-server and than run npm i and npm startone by one. if you see the below code thn congratulations!!! your project will run successfully on http://your_ip:3001 /echo if you linked your domain with hosting thn you can check it on http://your_domain:3001/echo

make sure that your port 3001 is enabled and not blocked by any security or firewall read how to open port on ubuntu

You must have your site running on https for connecting the app with turn server. for that you have to install ssl certificates and have to add those path in go-meeting-server/src/server.ts

click here for how to install letsencrypt free certificate on ubuntu

After installing SSL open go-meeting-server/src/server.ts file and change the const IS_PROD from false to true in line no 1 and change the path of your certificates in line number 6,7,8. see in image below

restart the server again with command npm start and open your url with https://your_domain:3001/echo

below is some helpful links in case you face any errors while installation.

Let's Encrypt SSL couldn't start by error. EACCESS: Permission denied

Connect AWS EC2 instance to GoDaddy Domain

Create ec2 instance in AWS

Replace Domain and Server at Application Side

Open Flutter Application, Go to Constant.dart file and please replace domain and Port with your domain and port.

Last updated