This project was generated with angular-cli version 1.0.0-beta.26 and Laravel version 5.3.
Demo Website URL: angular-frontend
Backend Demo Video: https://youtu.be/igBTeoPHUTk
- Firstly, you have to download or clone git angular project to your local machine into your local server directory ex.
www or htdocs
- Install Node.js® and npm if they are not already on your machine.
- Remote CLI to your download directory ex
C:\xampp\htdocs\movies
- Run
npm install
command - Run
ng serve
command launches the server, watches your files, and rebuilds the app as you make changes to those files - update your local server directory access link in
root\src\app\constant.ts
file on api and image link for ex.http://localhost/movies/server/public
- Firstly, setup wamp, lamp or xampp to your machine and run it
- create database
movies
to localhost - Download composer if they are not already on your machine.
- Rename
.env.example
file to .env inside your-project-root/server and fill the database information (windows wont let you do it, so you have to open.env.example
into editor and save as.env
in same directory ). - Open the console and
cd server-path/your-download-project/server
directory exC:\xampp\htdocs\movies\server
- Run
composer install
- Run
php artisan key:generate
- Run
php artisan migrate
- Run
php artisan db:seed
(to run seeders)
You can now access angular frontend project at localhost:4200
and laravel backend project at localhost/movies/server/public
:)
Username : [email protected]
Password : 123456
To get more help on the angular-cli
use ng help
or go check out the Angular-CLI README.
Documentation for the framework can be found on the Laravel website.
Reach out to - [email protected]