Giter VIP home page Giter VIP logo

blogsquare's Introduction

Blogsqure

A technical assignment of a blogging platform. This application was developed using PHP 8.1, Laravel framework, Inertia Vue and Tailwind CSS.

Project Setup

To setup this project, follow these steps below

  • Clone project repository
git clone https://github.com/menadio/blogsquare.git
  • Enter project directory
cd blogsquare
  • Install project dependencies
composer install
  • In project root, copy .env.example to .env and set the values for admin name, email, password, mysql and redis credentials as you wish
cp .env.example .env
  • Generate an application key for the project with the command below
php artisan key:generate
  • Seed some data into your database
php artisan migrate --seed
  • Install frontend dependencies
npm install

Starting the application

Before starting the application, we will need to monitor our redis queues using Horizon and run scheduled task hourly.

  • Start horizon for monitoring queues with the command below
php artisan horizon
  • Start schedule worker
php artisan schedule:work
  • Finally start the application with
npm run dev

Test Automation

We can test the application by running some test with this command

php artisan test

Extra Notes

For quick set up, you can use Sail package. All you have to do is run the command

php artisan sail:install

Then select mysql' and redis` from the service list. Once that is done, start the containers with any of the commands below

./vendor/bin/sail up

or

docker-compose up -d

Remember to install project and node dependencies and serve the application with npm run dev

blogsquare's People

Contributors

menadio 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.