Codelivia is a web application that allows users to write HTML, CSS, and JavaScript code in separate panes and view the output in real-time in another pane. You can access the website here.
- Code Editor Panes: Separate panes for writing HTML, CSS, and JavaScript code.
- Live Preview: Real-time preview of the code output.
- Syntax Highlighting: Enhances code readability with syntax highlighting.
- Auto-completion: Saves the user time and enhances the experience.
- Responsive Design: Works seamlessly across various devices and screen sizes.
Codelivia has been deployed on two servers using Nginx for serving web content. A load balancer configured with HAProxy is used to distribute incoming traffic between these servers to ensure high availability and load balancing.
- GitHub Integration: The project is hosted on GitHub, and changes pushed to the repository trigger automated deployment.
- Continuous Integration: Jenkins is utilized for continuous integration. Whenever changes are made to the GitHub repository, Jenkins ensures that the updated code is built and deployed to the servers.
- Nginx Configuration: Nginx is configured to serve the Codelivia web application on both servers.
- HAProxy Load Balancer: HAProxy is set up to balance traffic between the deployed instances, ensuring even distribution and high availability.
- Clone the repository:
git clone https://github.com/MennatAllahhxx/CodeLivia.git
- Open
index.html
in your web browser. - Start coding in the HTML, CSS, and JavaScript panes.
- View the live preview of your code output.
Here is a demo code that was done on CodeLivia where it shows a the successful integration of the three input panes to present the output on one pane.
Contributions are welcome! If you'd like to contribute to Codelivia, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/new-feature
- Make your changes and commit them:
git commit -am 'Add new feature'
- Push to the branch:
git push origin feature/new-feature
- Submit a pull request.
- Ace - for the excellent code editor component.
- HAProxy - for providing reliable load balancing.
- Nginx - for serving web content efficiently.
- Jenkins - for continuous integration and deployment automation.
Public Domain. No copy write protection.