Git Product home page Git Product logo

the-leafy-liberties's Introduction

The Leafy Liberties

The Leafy Liberties is a PHP-based bookstore project developed using the MVC (Model-View-Controller) architecture, MySQL as the database, and Tailwind CSS for styling.

How to Run

  1. Copy the .env.example file and rename it to .env.
  2. Open the .env file and configure the necessary environment variables according to your setup (e.g., database credentials).
  3. Open your terminal or command prompt and navigate to the project directory.
  4. Navigate to the docker directory within the project.
  5. Run the following command to start the Docker containers:
   docker-compose up

This command will set up the required containers for the project, including the PHP server and the MySQL database.

  1. Once the containers are up and running, you can access the project in your web browser using the provided URL or localhost address.

Project Structure

The project follows a typical MVC structure:

  • app/: Contains the core application files.

    • Controllers/: Contains the controller files responsible for handling the logic and interaction with the views.
    • Models/: Contains the model files responsible for interacting with the database.
    • Views/: Contains the view files responsible for rendering the user interface.
  • resources/: Contains both non-public and public resources.

  • docker/: Contains the Docker configuration files.

  • core/: Contains the core files of the MVC system.

  • routes/: Contains the router files.

  • utils/: Contains utility classes.

Contributing

If you'd like to contribute to the project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your forked repository.
  5. Open a pull request to the main repository.

the-leafy-liberties's People

Contributors

tnowad avatar phatjack avatar hoanggiabaodev avatar maitrungchinhh avatar

Watchers

 avatar

Forkers

phatjack

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.