API built with the Laravel Framework for a barber system.
nBarber is an API built with Laravel Framework for a simple barber system. This application was made for the sole purpose of learning the Laravel framework better. You can interact with the project through the Railway platform (click here to access).
Password | |
---|---|
william@email.com | 123 |
The hosting service may have a certain delay (~ 1 min) for uploading the application so the loading of the website may have a certain delay.
See here the OpenAPI documentation.
- Create database
chmod +x createdb.sh && ./createdb.sh
- Install project
composer install
- Run migrations
php artisan make:migration
- Seed database
php artisan db:seed
- Run project
php artisan serve
Details about each version are documented in the releases section.
Name | Type | Description |
---|---|---|
app | Directory |
The app directory contains the core code of the application. Almost all of the classes in your application will be in this directory. |
bootstrap | Directory |
Contains the app.php file which bootstraps the framework. This directory also houses a cache directory which contains framework generated files for performance optimization such as the route and services cache files. |
conf | Directory |
Hosting platform configuration files. |
config | Directory |
Contains all of your application's configuration files. |
database | Directory |
Contains your database migrations, model factories, and seeds. |
docs | Directory |
Documentation files. |
lang | Directory |
Houses all of your application's language files. |
public | Directory |
Contains the index.php file, which is the entry point for all requests entering your application and configures autoloading. This directory also houses your assets such as images, JavaScript, and CSS. |
resources | Directory |
Contains views as well as raw, un-compiled assets such as CSS or JavaScript. |
routes | Directory |
Contains all of the route definitions for your application. By default, several route files are included with Laravel: web.php , api.php , console.php , and channels.php .
|
scripts | Directory |
Hosting platform configuration files. |
storage | Directory |
Contains logs, compiled Blade templates, file based sessions, file caches, and other files generated by the framework. This directory is segregated into app, framework, and logs directories. The app directory may be used to store any files generated by the application. The framework directory is used to store framework generated files and caches. Finally, the logs directory contains the application's log files. |
tests | Directory |
contains your automated tests. |
.env.example | File |
Environment variables (you should copy it, renaming to '.env') |
createdb.sh | File |
Script responsible for creating application database |