Hello, I created this project for NodeJs api with Laravel.
You can use these installation steps.
Create a .env file in the customer-management-server folder.
APP_PORT=3000
DB_PORT=
DB_HOST=
DB_USER=
DB_PASSWORD=
MYSQL_DB=
I prepared sql file for quick table create and dummy data. You can import customer.sql to your database.
You must run npm install in the customer-management-server folder.
$ cd customer-management-server && npm install
For run NodeJs server:
$ npm start
Now, you can run composer update for Laravel project.
$ cd customer-management-app && composer update
For run Laravel PHP server:
$ php artisan serve
I used 3000 port for NodeJs server, don't change this!
API Link: https://127.0.0.1:3000/api