Baker is a lightweight and efficient package manager for C/C++ libraries. It simplifies the process of downloading, managing, and linking libraries in C/C++ projects. The system consists of two primary components:
- Baker Client: A C++ application designed to efficiently handle package management on the client side.
- Baker Server: A Java-based backend built using Spring Boot, providing scalable and stable package hosting and management.
The Baker Server is a scalable backend service built using Java and Spring Boot. It manages package data and serves client requests for downloading and storing libraries.
- Scalability and Stability: Built with Java and Spring Boot to leverage a robust web development framework.
- MongoDB Integration: Utilizes MongoDB for data storage.
- GridFS Support: Efficiently stores library files in MongoDB.
- Java 17 or higher
- Maven
- MongoDB
-
Clone the repository:
git clone https://github.com/Ayushman2004/baker-server.git cd baker-server -
Build the server:
mvn clean package
-
Run the server:
java -jar target/baker-server.jar
- Download Package_info:
GET /get-pkg_info/{name}
- Download File:
GET /down-pkg/{name}
- MongoDB is required for the Baker Server.
- GridFS is used to store package files efficiently.
This project is licensed under the Apache-2.0 License.