Skip to content

Iskren1990/Webinar-App

Repository files navigation

DoDo

Alt

About The Project

Simple solution for your web-hosting needs, the app gives you the power to host and moderate, webinars like, events based on your needs.

Currently hosted on Heroku

Built With

Prerequisites

Node - 14.1.0
bcrypt - 5.0.0
cookie-parser - ^1.4.5
cors - ^2.8.5
dotenv - ^8.2.0
express - ^4.17.1
jsonwebtoken - ^8.5.1
mongoose -  ^5.10.11
socket.io - ^3.0.4
nodemon - ^2.0.6
socket.io-client - ^3.0.3
ngx-toastr - ^13.2.0
rxjs - ~6.6.0
angular - 10.1.7

Installation

To get a local copy up and running follow these simple example steps.

1️⃣ Download the app or clone the repo:

#️⃣ git clone https://github.com/Iskren1990/event-hosting.git

2️⃣ Change the following variables located in " public\src\environments\environment.prod.ts "

from:

 apiUrl: "https://dodo-hosting.herokuapp.com/api",
 socketUrl: "https://dodo-hosting.herokuapp.com", 

to:

 apiUrl: "http://localhost:3000/api",
 socketUrl: "http://localhost:3000",

Note: Port 3000 should not be in use. To validate follow the instructions bellow.

To use local MongoDB change "DB_NAME", "DB_PASSWORD" and "DB_UNAME" located in "/config/.env".

:thre: install NPM packages

In the root folder run:

#️⃣ npm run prod-install

By default the project uses port 3000.

  • to check if it is free for use:

    • In Windows open cmd and paste:

    #️⃣ netstat -aon | find '3000'

    • In Linux paste in the terminal:

    #️⃣ sh sudo netstat -anp | grep ':3000 '

If the port is in use by other software you can change it by:

  • open " .env " file located in " config " folder.

  • change the value " PORT " variable.

    PORT=xxxx

To start the server run:

#️⃣ npm run start-dev

Getting Started

To start the server run:

#️⃣ npm run start-dev

After successful start you will see the URL on which you can access the app.

Usage

Alt

Alt

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Open a issue with request.

Acknowledgements