Angular 6 Starter with Laravel 5.6 API Service

Submitted by: 
Language: 
Visitors have accessed this post 1343 times.

Angular 6 and Laravel 5.6

This project is a starter for creating interface with Angular using bootstrap && css && sass and using Laravel 5.6 for api requests.

Demo

Installation

This project is divided in two parts (projects) and before use them you should follow the instructions below:

Angular Project Interface

Local Environment

  1. > git clone <a href="https://github.com/kleviscipi/personal-bank.git" rel="nofollow">https://github.com/kleviscipi/personal-bank.git</a>
  2. > cd personal-bank
  3. > npm install
  4. > ng serve

Production Environment
For production mode you must build the project with command > ng build ---prod and upload the folder dist/personal-bank where you want.
If you want to upload and host on firebase use this instructions:

  1. > ng build ---prod
  2. > npm install -g firebase-tools
  3. > firebase init # Generate a firebase.json (REQUIRED)
  4. > firebase deploy # Start development server

Note : If you are unfamiliar with firebase please go to the documentation

Further help
To get more help on the Angular CLI use `ng help` or go check out the Angular Cli Readme.

Laravel Project Api

Local Environment

  1. > git clone <a href="https://github.com/kleviscipi/laravel-api-engine.git" rel="nofollow">https://github.com/kleviscipi/laravel-api-engine.git</a>
  2. > cd laravel-api-engine
  3. > composer install

Now you must configure the environment file .env se the example file on project .env.example and don't forget to configure the variables for email.

  1. > php artisan migrate # This will migrate and save all tables of database. see: database/migrations
  2. > php artisan serve # This start , Laravel development server at: <a href="http://127.0.0.1:800
  3. Note:" rel="nofollow">http://127.0.0.1:800
  4. Note:</a> If you have problem with passport api use this instructions
  5. > php artisan passport:install
  6. > php artisan passport:keys

Production Environment

After you have upload files on your production env you must create and configure the environment file .env If you want to upload the Laravel Project Api on https://www.heroku.com/ you should before install the heroku cli go to this link : Heroku Cli Dev Center
After you have installed that :

  1. > heroku login
  2. > git init
  3. > heroku git:remote -a you-app-name # This command connect your api created on your Heroku dashboard.
  4. > git add .
  5. > git commit -am "make it better"
  6. > git push heroku master # Push all files on your app > heroku config:set APP_KEY=…

# This command set variables of your environment on heroku app and so on.... Like .env
Note: On Production mode don't forget to configure the variables for your email server. MAIL_DRIVER,MAIL_HOST,MAIL_PORT,MAIL_USERNAME,MAIL_PASSWORD,MAIL_ENCRYPTION

After registration you receive an active link email which active the account.

Architecture and Requrements

See : Trello Cards

For more more details go to https://github.com/kleviscipi/personal-bank


Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may insert videos with [video:URL]
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe> [video]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.