Skip to content

ozerozdas/cms-demo-with-node-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMS Demo with NodeJS Server

Hello, I created this project for NodeJs api with Laravel.
You can use these installation steps.

Installation

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

Note

I used 3000 port for NodeJs server, don't change this!
API Link: https://127.0.0.1:3000/api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published