Skip to content

Guy-Ghis/rust_web_server

Repository files navigation

rust_web_server


Overview

Welcome to rust-web-server, a robust and efficient web server built with Rust that facilitates file uploads, automatic compression, and saves the files to a database. This server is designed to handle file management seamlessly, ensuring high performance and reliability. Whether you are working on an application that requires file handling or simply want to implement a secure and fast file server, this project has you covered.


Features

  • File Upload: Secure and easy-to-use file upload functionality.

  • Automatic Compression: Files once uploaded can compressed to save space and reduce storage requirements.

  • Database Integration: Saves uploaded and compressed files to a database for easy access and management.

  • High Performance: Written in Rust, leveraging its memory safety and performance advantages.

  • Async Support: Handles multiple concurrent uploads and operations with asynchronous processing.


Getting Started

Prerequisites

  • Rust (Stable version recommended)

  • Cargo (comes with Rust)

  • A running database (e.g., PostgreSQL, MySQL) for storing file metadata.

Installation

  1. Clone the repository:
git clone https://github.com/Guy-Ghis/rust_web_server.git
  1. Build the project:
cargo build --release
  1. Run the server:
cargo run

Your server will start running on http://localhost:8000.


Contributing

We are open to contributions from developers of all levels! Whether it's fixing bugs, suggesting new features, or improving documentation, feel free to open an issue or submit a pull request. Here’s how you can contribute:

  1. Fork the repository.
  2. Clone your fork to your local machine:
git clone https://github.com/Guy-Ghis/rust_web_server.git
  1. Create a new branch for your feature or fix:
git checkout -b my-feature
  1. Make your changes and commit them:
git commit -m "Add new project feature"
  1. Push your changes to your fork:
git push origin my-feature
  1. Submit a pull request to the main repository.

License

This repository is licensed under the MIT License. See the LICENSE file for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published