Dombi Tibor Dávid Thesis Work
Eszterházy Károly University, Hungary
Explore the docs »
This project is a base for a managed access control system webservice
To get a local copy up and running follow these simple steps.
- Docker
- Node.js 14.0 or newer
- Yarn 1.x
Frontend:
- @angular/cli 13.x
- Node.js 14.0 or newer
- Yarn 1.x
Backend:
- PHP 8.1 or newer (this repository is PHP 8 compatible)
- Composer
- Database of your choice (MySQL, SQLite)
- Optional: XDebug for testing
- Clone the repo
git clone https://github.com/dombidav/hl5u4v-thesis.git
- Install the dependencies
yarn
- Run the wizard
yarn wizard
- Configure the project guided by the wizard
- Start the development server
yarn serve
- Clone the repo
git clone https://github.com/dombidav/hl5u4v-thesis.git
- Install the dependencies
yarn
- Set up webservice
- Change directory to webservice
cd webservice
- Install the dependencies
cd webservice composer install
- Set up the environment
Edit the .env file to match your database configuration
cp .env.example .env
- Generate the application key
php artisan key:generate
- Start the database of your choice
- Create a database for the project as specified in the .env file
- Migrate the database
php artisan migrate:fresh --seed
- Start the development server
php artisan serve
- Set up the admin panel
- Change directory to admin
cd admin
- Install the dependencies
yarn
- Create configuration file at
src/environments/environment.ts
with the following content:Change theexport const environment = { production: false, APP_URL: 'http://localhost:8000', // URL of the webservice };
APP_URL
to match the URL of the webservice - Start the development server
ng serve
Distributed under the MIT License. See LICENSE
for more information.
Project Link: https://github.com/dombidav/hl5u4v-thesis