Category: Blog

  • ZeMeng-License

    ZeMeng-License

    A free software open source protocol that is cleaner than MIT

    How to use

    ZML-2.0
    

    License

    ZML (ZeMeng License)
    Second Edition - March 15, 2025
    
    ========================================
    Applicability
    ========================================
    • This License Agreement applies to software and related documentation created by [Name/Organization Name].
    • The terms of this License are subordinate to applicable national and regional laws, except for the disclaimers of liability, which shall take precedence over conflicting legal obligations.
    • Any user who receives the Software or related documentation, whether in source code or binary form, shall be deemed to have accepted all terms and conditions of this License.
    
    ========================================
    Grant of License
    ========================================
    1. Attribution to the Original Author
       You must prominently credit [Name/Organization Name] as the original author when distributing, using, or incorporating the Software (or any derivative works) in any form.
    
    2. Freedom to Use and Distribute
       You are free to use, distribute, modify, and create derivative works without restriction.
    
    3. Commercial Use
       You may use the Software for commercial purposes, including incorporating it into commercial products or developing commercial products based on it, and may derive financial benefit from such use.
    
    ========================================
    Disclaimer of Liability
    ========================================
    • [Name/Organization Name] shall not be liable, under any circumstances, for any direct, indirect, incidental, special, punitive, or consequential damages arising from the use, modification, or distribution of the Software. This includes, but is not limited to, data loss, loss of profits, business interruption, or similar damages, even if advised of the possibility of such harm.
    • Disclaimer for Ordinary Software Distributors
       If the Software is distributed by ordinary software distributors, such distributors assume no warranty obligations to users for the purchase or use of the Software.
    
    ========================================
    Terms and Conditions
    ========================================
    1. Inheritance of License Terms
       When modifying or creating derivative works based on the Software:
       - If the modification volume is minor, it is recommended but not mandatory to follow this License when distributing or using the derivative work.
       - If the modification volume is substantial, the modifier may choose not to inherit this License.
       The original copyright holder retains exclusive authority to:
       a) Define what constitutes "minor" versus "substantial" modification volume
       b) Interpret the scope and calculation method of modification volume
       c) Make final determinations regarding license inheritance requirements
    
    2. Scope of the License
       The terms of this License apply to the Software and its documentation as a whole. If individual components of the Software are used separately, their licensing terms shall be determined on a case-by-case basis, provided the overall use complies with this License.
    
    ========================================
    [Name/Organization Name]
    [Date]
    ========================================
    
    (Note: Replace placeholders [Name/Organization Name] and [Date] with actual values.)
    

    Important

    The final interpretation of the agreement belongs to the designer of the agreement
    

    Visit original content creator repository
    https://github.com/YShenZe/ZeMeng-License

  • vinculacion-app

    Getting Started with Create React App

    This project was bootstrapped with Create React App.

    Available Scripts

    In the project directory, you can run:

    npm start

    Runs the app in the development mode.
    Open http://localhost:3000 to view it in your browser.

    The page will reload when you make changes.
    You may also see any lint errors in the console.

    npm test

    Launches the test runner in the interactive watch mode.
    See the section about running tests for more information.

    npm run build

    Builds the app for production to the build folder.
    It correctly bundles React in production mode and optimizes the build for the best performance.

    The build is minified and the filenames include the hashes.
    Your app is ready to be deployed!

    See the section about deployment for more information.

    npm run eject

    Note: this is a one-way operation. Once you eject, you can’t go back!

    If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

    Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

    You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

    Learn More

    You can learn more in the Create React App documentation.

    To learn React, check out the React documentation.

    Code Splitting

    This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

    Analyzing the Bundle Size

    This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

    Making a Progressive Web App

    This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

    Advanced Configuration

    This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

    Deployment

    This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

    npm run build fails to minify

    This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

    Visit original content creator repository
    https://github.com/Dav1dRX/vinculacion-app

  • SCALABLE-E-COMMERCE IN SPRING

    SCALABLE-E-COMMERCE IN SPRING

    This project was proposed by Roadmap.sh: https://roadmap.sh/projects/scalable-ecommerce-platform

    This backend was developed using Spring Framework, with JWT and Spring Security for security. PayPal was integrated for payments, Twilio for SMS, and Java Mail Sender for emails. Thymeleaf was used to visualize the payment process.

    DEPLOYMENT

    docker compose up --build
    

    image

    To proceed with the deployment, we need three items: PayPal credentials, Twilio credentials, and Gmail credentials.

    Descripción de la imagen Descripción de la imagen

    Microservices Architecture

    Descripción de la imagen

    TEST

    REGISTER CUSTOMER AND ADMIN

    Descripción de la imagen Descripción de la imagen

    LOGIN (IT IS VERIFIED IF YOU ARE A USER OR ADMIN THROUGH THE TOKEN)

    Descripción de la imagen

    ADMIN: ADD PRODUCTS TO THE DATABASE

    Descripción de la imagen

    CLIENT: BUYING

    START OF PURCHASE

    Descripción de la imagen

    END OF PURCHASE PLEASE NOTE THAT IF THE STOCK IS EXCEEDED, YOUR REQUEST WILL BE REJECTED

    CAN ALSO BE REMOVED

    Descripción de la imagen
    {
        "id": 1,
        "idUser": 1,
        "email": "jandresllg2001@gmail.com",
        "total": 409.44,
        "cartItems": [
            {
                "id": 1,
                "idProduct": 5,
                "nameProduct": "Lápiz Mecánico",
                "quantity": 21,
                "unitPrice": 2.5
            },
            {
                "id": 2,
                "idProduct": 2,
                "nameProduct": "Cuaderno A5",
                "quantity": 1,
                "unitPrice": 3.0
            },
            {
                "id": 3,
                "idProduct": 4,
                "nameProduct": "Taza de Cerámica",
                "quantity": 2,
                "unitPrice": 7.99
            },
            {
                "id": 4,
                "idProduct": 6,
                "nameProduct": "Regla de Plástico",
                "quantity": 10,
                "unitPrice": 1.0
            },
            {
                "id": 5,
                "idProduct": 7,
                "nameProduct": "Set de Rotuladores",
                "quantity": 2,
                "unitPrice": 8.99
            },
            {
                "id": 6,
                "idProduct": 8,
                "nameProduct": "Cargador USB",
                "quantity": 2,
                "unitPrice": 10.0
            },
            {
                "id": 7,
                "idProduct": 10,
                "nameProduct": "Almohadilla Térmica",
                "quantity": 12,
                "unitPrice": 20.0
            },
            {
                "id": 8,
                "idProduct": 15,
                "nameProduct": "Juego de Cuchillos de Cocina",
                "quantity": 2,
                "unitPrice": 24.99
            }
        ]
    }

    CUSTOMER: IT SHOULD BE GENERATED AUTOMATICALLY BUT HERE I DO IT MANUALLY OK

    Descripción de la imagen
    {
        "orderId": 1,
        "name": "Juan Andrés",
        "lastName": "López García",
        "email": "jandresllg2001@gmail.com",
        "role": "CLIENT",
        "address": "Av. 12345, Edificio XYZ, Apt. 101",
        "phone": "+241432534",
        "items": [
            {
                "id": 1,
                "idProduct": 5,
                "nameProduct": "Lápiz Mecánico",
                "quantity": 21,
                "unitPrice": 2.5,
                "totalPrice": 52.5
            },
            {
                "id": 2,
                "idProduct": 2,
                "nameProduct": "Cuaderno A5",
                "quantity": 1,
                "unitPrice": 3.0,
                "totalPrice": 3.0
            },
            {
                "id": 3,
                "idProduct": 4,
                "nameProduct": "Taza de Cerámica",
                "quantity": 2,
                "unitPrice": 7.99,
                "totalPrice": 15.98
            },
            {
                "id": 4,
                "idProduct": 6,
                "nameProduct": "Regla de Plástico",
                "quantity": 10,
                "unitPrice": 1.0,
                "totalPrice": 10.0
            },
            {
                "id": 5,
                "idProduct": 7,
                "nameProduct": "Set de Rotuladores",
                "quantity": 2,
                "unitPrice": 8.99,
                "totalPrice": 17.98
            },
            {
                "id": 6,
                "idProduct": 8,
                "nameProduct": "Cargador USB",
                "quantity": 2,
                "unitPrice": 10.0,
                "totalPrice": 20.0
            },
            {
                "id": 7,
                "idProduct": 10,
                "nameProduct": "Almohadilla Térmica",
                "quantity": 12,
                "unitPrice": 20.0,
                "totalPrice": 240.0
            },
            {
                "id": 8,
                "idProduct": 15,
                "nameProduct": "Juego de Cuchillos de Cocina",
                "quantity": 2,
                "unitPrice": 24.99,
                "totalPrice": 49.98
            }
        ],
        "totalAmount": 409.44,
        "orderStatus": "PENDING",
        "orderDate": "2024-09-24T00:38:03.912451144"
    }

    THE PAYMENT PROCESS IS THE ONLY ONE WITH INTERFACE

    Descripción de la imagen

    PAYING

    Descripción de la imagen Descripción de la imagen

    RECEIVING SUCCESSFUL PAYMENT EMAIL

    Descripción de la imagen

    THE ADMINISTRATOR’S FUNCTIONS WOULD BE TO BE ABLE TO SEE THE ORDER HISTORY OF ALL USERS AND THINGS LIKE THAT

    IF I DO IT AS A CUSTOMER IT DOES NOT ALLOW

    Descripción de la imagen
    Visit original content creator repository https://github.com/ProyectosCoPersonales/Scalable-E-Commerce