Skip to content

The Mypos recruit task with some upgrades done in the onboarding phase

Notifications You must be signed in to change notification settings

This-Marinov-guy/Mypos-ex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mypos-ex project (REACT + SYMFONY 6)

Installation:

Install NVM and from it install NodeJs version 20.10.* NodeJs -v Latest - https://nodejs.org/en/download/

OpenSSL -v Latest - https://www.openssl.org/

NPM 10.2.3

PHP 8.2.12

Composer Install Version 2.6.6 - https://getcomposer.org/download

*Optional install symfony CLI - https://symfony.com/download

Step 1: Install and update composer

Go to api folder from root directory

cd api
php composer.phar self-update

or if you have composer installed globally use this command

composer self-update

Step 2: Install composer dependencies

php composer.phar install

or if you have composer installed globally use this command

composer install

Step 3: Generate JWT Token

generate jwt token - php bin/console lexik:jwt:generate-keypair

or

generate jwt token - php bin/console lexik:jwt:generate-keypair --overwritecd 

Step 4: Install npm dependencies

Go to ui folder from root directory

cd ui
npm install

Step 5: Start the program

Open ui folder from root directory

npm start

Open api folder from root directory

symfony server:start

OR if you do not have symfony CLI

php bin/console server:run

Configuration

To Create Rooms for the listings (the command creates 2 rooms)

php bin/console create-rooms

To Create an Admin run

php bin/console create-admin

Admin credentials

email: [email protected]

password: Admin123!


To Create 2 Rooms (in case there are none) run

php bin/console create-rooms

About

The Mypos recruit task with some upgrades done in the onboarding phase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published