Code Monkey home page Code Monkey logo

lumenlens's Introduction

LumenLens | Backend for Blog Application

LumenLens is a powerful backend solution tailored for a blog application, offering secure authentication, CRUD operations, and additional features to enhance the user experience. Built using Lumen, a lightweight PHP framework, it provides efficient endpoints for seamless communication between the frontend and server.

Responsibilities

During my involvement with LumenLens, I had the following responsibilities:

  • Designed and implemented RESTful APIs to enable smooth communication between the frontend and the server.
  • Leveraged Lumen, a PHP micro-framework, to develop a robust and scalable backend, ensuring optimal performance for the blog application.
  • Implemented secure user authentication and authorization mechanisms to safeguard user data and ensure privacy.
  • Developed and maintained a MySQL database for efficient storage and management of blog posts, user data, and application-related information.
  • Integrated Postman collections for easy API testing and documentation, ensuring reliability and ease of use.
  • Collaborated closely with frontend developers to ensure seamless integration and compatibility.
  • Implemented comprehensive testing using PHPUnit to validate individual components and ensure the reliability of the backend system.
  • Set up server watching through nodemon to automatically refresh during development.
  • Created migrations for database management.
  • Developed a comment model and post model, allowing users to comment on posts.
  • Enabled soft delete for posts and hard delete for comments.
  • Applied a global guard to all routes to verify user authentication.

User Roles and Access

LumenLens incorporates a role-based access control system to manage permissions for different types of users. The roles and their respective access permissions are as follows:

  • User: Can view posts, create comments, and manage their own profile.
  • Admin: Has all user permissions plus the ability to create, edit, and delete any posts and comments.
  • Super Admin: Has all admin permissions and can manage user roles and access levels, as well as perform system-level configurations.

Project Technologies & Tools

The project utilized the following technologies and tools:

  • Lumen (PHP Micro-framework)
  • MySQL
  • Postman
  • PHPUnit
  • Git
  • Nodemon

To Run the Application

To run the LumenLens backend, follow these steps:

  1. Clone the repository to your local machine.
  2. Install dependencies using Composer:
    $ composer install
  3. Set up your MySQL database and configure the database connection in the .env file.
  4. Run the migration to set up the database schema:
    $ php artisan migrate
  5. Start the development server using Nodemon:
    $ nodemon

Feel free to explore the code, documentation, and the features developed during the LumenLens project. If you have any questions or would like to collaborate, please don't hesitate to get in touch.

Happy exploring!

Stay in touch

  • Portfolio: portfolio
  • LinkedIn: linkedin

lumenlens's People

Contributors

nayefserag avatar nayefserag1 avatar

Watchers

 avatar

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.