bsoc-bitbyte / busify

A centralised bus ticket booking system that will allow the students to book tickets in advance through an online website, saving time and effort.
https://busify.vercel.app
30 stars 67 forks source link

refactor: Automates the process of running development environment #71

Open Pratik2026 opened 11 months ago

Pratik2026 commented 11 months ago

Overview

This PR does the following: It introduces the Automation for the setup and running development environment server to streamline the development workflow.

Essential Checklist

Pratik2026 commented 11 months ago

@Bhavik-ag There's a minute issue which I would like to discuss, on executing dev-env.sh file since we are running backend server in background (detached from the terminal) it causes the port 3333 remains in use even though the terminal has been killed due to which devs will have to either reopen the editor or manually close the port if they want to rerun the server.

Pratik2026 commented 11 months ago

One possible solution would be to create a Cleanup function which will close the port whenever the terminal got closed. Let me know if this required.

Bhavik-ag commented 11 months ago

@prajjwalkapoor Do you have any idea on the mentioned issue by @Pratik2026?