Skip to content

My first CRUD, multi-language application using Laravel

Notifications You must be signed in to change notification settings

mirodilkamilov/sowa

Repository files navigation

My first CRUD, multi-language application using Laravel

About the project

Sowa is a digital agency in Tashkent, which offers various services on digital projects in any field.

Important functionalities of this application:

  • Multi-language (Russian, English, Uzbek)
  • Website is dynamic and can be modified by Admin
  • Admin can create, update, delete and restore (some contents) interacting with user-friendly UI (dashboard)
  • User can leave their contacts and messages

Database design of the application:

How to locally host the project?

Why it is not hosted anywhere?

As the application is dynamic (fully customizable), anyone can add anything that may include numerous inappropriate things.

Technology requirements

{
    "php": "^8.0",
    "mysql": "^5.7",
    "composer": "^2.0"
}

If you are using Windows, you can install only XAMPP, Composer and you are good to go.

First of all, clone this repository

git clone https://github.com/mirodil1999/sowa.git

cd sowa

Install all the dependencies

composer install

Create new database and configure the application. You can create database from phpMyAdmin or from terminal/cmd

mysql -u db_user -p

CREATE DATABASE sowa;

Where db_user is your actual database user (most cases it is root) and type your password (if any)

Now search .env.example file from the directory you cloned the application. If cannot find it, you can download and paste it to the directory (where the README located)

Rename this .env.example file to .env and edit following contents:

DB_DATABASE=sowa
DB_USERNAME=your database username
DB_PASSWORD=your database password

Now you finished all the configuration, and you can fill the tables with some testing data by

php artisan migrate:fresh --seed

Now you may start Laravel's local development server

php artisan serve

http://127.0.0.1:8000/dashboard is the URL for the dashboard. Here is the admin credentials:

mirodil@gmail.com
Admin123

For those who read so far, I really want to share these two articles: