Skip to content

A Laravel Chirper that offers a bulletin board for users to register post on it. Inspired by Laravel Bootcamp.

Notifications You must be signed in to change notification settings

logreg-n-coffee/laravel-chirper

Repository files navigation

Laravel Chirper

Introduction

This Laravel Chirper Full Stack App was developed based on Laravel Bootcamp, and it is based on Inertia (as a bridge between backend and frontend) and React.js.

Before starting

Before starting development server, the following actions must be executed in the working directory:

1. Install dependencies

# install php dependency
composer install 

# install vite dependency
npm install

2. Create a personal copy of env

cp .env.example .env

3. Generate Laravel App Key

php artisan key:generate

4. Connect to MySQL Database (Modify Environment Variable)

Please make sure you have access to the database.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_db_name
DB_USERNAME=your_db_user_name
DB_PASSWORD=

To quickly set up a MySQL database on Docker

# pull image 
docker pull mysql

# start a container
docker run --name <my_mysql_instance_name> -e MYSQL_ROOT_PASSWORD=<root_password> -p 3306:3306 -d mysql

5. Populate a MySQL Database (Database Migration)

php artisan migrate

Sanity check

To check the routes available, please run:

php artisan route:list

To run the app

Run the development server:

php artisan serve

Run the Hot Module Replacement powered by Vite development server

npm run dev

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

A Laravel Chirper that offers a bulletin board for users to register post on it. Inspired by Laravel Bootcamp.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published