Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hrithiqball/transtrack-system

Project to fulfill CSC577 - Software Engineering Theories & Principles
https://github.com/hrithiqball/transtrack-system

eloquent inertiajs laravel mysql oop php tailwindcss typescript vuejs

Last synced: 3 months ago
JSON representation

Project to fulfill CSC577 - Software Engineering Theories & Principles

Awesome Lists containing this project

README

        

> Framework and Tools







> Languages







# Transportation System

This project is to fulfill the requirements of course CSC577 - SOFTWARE ENGINEERING: THEORIES AND PRINCIPLES. The project is about transportation management system using Laravel framework.

# Prerequisites

1. [XAMPP](https://www.apachefriends.org/index.html) - Make sure to install MySQL server as well during the installation.
2. [Composer](https://getcomposer.org/download/)
3. [NodeJs](https://nodejs.org/en)
4. [Git](https://git-scm.com/downloads) - Watch Youtube in case you are unfamiliar with the git

# Installation

1. Install PHP dependencies for backend

```bash
composer install
```

2. Install NPM dependencies for frontend

```bash
npm install
```

3. Open XAMPP and start Apache and MySQL servers.
4. Copy `.env.example` to `.env`(create new file) and update the database configuration (mysql).
5. Run migration

```bash
php artisan migrate
```

6. Generate application key

```bash
php artisan key:generate
```

7. Seed the database

```bash
php artisan db:seed
```

8. To link storage with file system

```bash
php artisan storage:link
```

9. Run the application using 2 terminals

```bash
# Terminal 1
php artisan serve

# Terminal 2
npm run dev
```

# Source Control
## To update to latest version of the system

```bash
git pull
npm i
composer install
php artisan migrate
```