Skip to content

MaxSSol/Olibrary

Repository files navigation

A simple online library

Technical information

  • Ubuntu 20.04
  • Laravel 8
  • Docker compose
  • PHP 7.4
  • MySQL
  • Codeception
  • Jquery

Instructions for starting

Copy the .env.example file and make the following changes:

  • APP_NAME(Example Olibrary)
  • APP_DEBUG(false)
  • DB_USERNAME(Example root)
  • DB_PASSWORD(Example password)
  • DB_HOST(mysql)
  • MAIL_HOST(Example stmp.mailtrap.io)
  • MAIL_PORT(Example 465)
  • MAIL_USERNAME(YOUR_USERNAME)
  • MAIL_PASSWORD(YOUR_PASSWORD)
  • MAIL_ENCRYPTION(Example TLS)
  • MAIL_FROM_ADDRESS(YOUR_ADDRESS)
  • QUEUE_CONNECTION(database)
chmod 755 -R Olibrary/storage/

To start the containers, execute the command:

docker-compose up --build -d

Next, you need to open the container with PHP.

CONTAINER ID of the container with php:

docker ps

docker ps

To enter the container, execute the command:

docker exec -it CONTAINER_ID /bin/bash

docker exec Execute the following commands in the container:

composer i
php artisan key:generate 
php artisan migrate:fresh --seed
php artisan storage:link

After completing all the commands, you have a working application:

example

Implemented functionality

  • Login, registration;
  • Email confirmation, Google login, password reset;
  • View books with filters, pagination;
  • Adding books to favorites;
  • View favorites in your personal account;
  • Ability to download the book from the site;
  • Changing data in the personal account;
  • Admin panel. CRUD Users, Books and Authors.

The personal account:

profile

Admin dashboard:

dashboard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages