Skip to content

baselshlewett/demo-app-BE

Repository files navigation

Infomation

This project serves as a demo, built with Laravel.

Structure, Related files and folders

The most relevant files for this project and the requirements are located at:

  • Controller: app/Http/Controllers/Api/SendLogController.php
  • Model: app/Models/Api/SendLog.php
  • Database Migrations: database/migrations
  • Database Seeders: database/seeders

Installation

  1. clone repo to localhost
  2. cd to directory
  3. run composer install
  4. create database and copy details to the .env file:
            DB_CONNECTION=mysql
            DB_HOST=127.0.0.1
            DB_PORT=3306
            DB_DATABASE={db_name}
            DB_USERNAME={username}
            DB_PASSWORD={password}
            
  5. run the following command to create project tables in mysql and seed with dummy data php artisan demo:install

Running the project

After installion you can run php artisan serve and then you can open the page at http://localhost:8000/api/v1/messages-log?date_from=2021-07-07&date_to=2021-10-15 to make sure it is running correctly

Running the frontend

The frontend is built using Angular and can be found here: https://github.com/ba1948/demo-app-FE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published