how do i make login with session in laravel 5.4 - laravel-5.4

- i want this from scratch
- i m new in mvc framewrok
- i m begineer in laravel
- i want custom login
if possible can someone deeply explain the full process so my laravel concept also clear while making this

Laravel provides a quick way to scaffold all of the routes and views you need for authentication using one simple command, Run this comand in your project folder path:
php artisan make:auth
This command should be used on fresh applications and will install a layout view, registration and login views, as well as routes for all authentication end-points. A HomeController will also be generated to handle post-login requests to your application's dashboard.
Reference: Laraver 5.4 Authentication
Use Same Reference Link to get information about Manually Authenticating Users

Related

How to deploy Angular-Flask-MySQL Project on Heroku which Stored in Github repo

I am currently working on a project that uses Angular as frontend framework, Flask as backend framework and MySQL as database.
Furthermore, the developement of the application is completed and the source code is stored in private Github repo.
My next step is to deploy this project on heroku server. After done some research l found that i have to change the database to Clear DB which is the database available in heroku. As a newbie this is my first web app deployment to heroku server.
Is there any online source where i can refer that can fullfiill my requirement or if somebody has done this approach previousely could please list down the steps so i can follow them. Your help will be highly appreciated.
Thanks and best regards.
I had done a project related to angular and flask. I faced the same issue when it comes to app deployment phase.
I deployed the angular app and the flask app in two separate heroku servers. Using this method it is easy for you to do the furthure developments of the application as well.
Following are some reliable sources you can refer,
Deploy flask app to heroku
https://stackabuse.com/deploying-a-flask-application-to-heroku/
Deploy angular app to heroku
https://www.javaguides.net/2020/11/how-to-deploy-angular-application-to-heroku.html?m=1
After deploy both these frameworks separately you can replace your angular api call from https://localhost:5000/api/ to https://yourbackendserver.herokuapp.com/api/

Deploy Laravel and Angular project on client system without using localhost or Command

I created a project using Angular and Laravel and want to run it on user system without using localhost and "php artisan serve" command because user doesn't know all these command and doesn't go to technicality. I created the desktop app of my Front End code by using Electron and want to communicate with Laravel app without using any localhost server.
I already deployed this project using XAMPP but after some days when data increased then XAMPP faced issues and didn't response so i didn't want to use localhost for future.
I simply want solution through with i run this project on user system without running localhost or some kind of command. I simply want to communicate with Laravel app from my Front end Angular code.
I would recommend you to use Docker + docker-compose.
It's easy to setup environment for project and if you want you can run it in a background mode on "user" side.

Create HTTPS-based Encrypted URLs Using Routes for Starter subscription

I am trying to follow this article Create HTTPS-based Encrypted URLs Using Routes. Will I be able to accomplish this on a Starter subscription account?
Specifically, I tried to login using OC tool with ‘oc login’. But it asked for server. I am not sure where to get this server url.
Go to:
https://learn.openshift.com/introduction/
and go through the mini tutorial there:
https://learn.openshift.com/introduction/cluster-access/
It will explain to you how you can login to an OpenShift cluster from web console and command line.

migration from normal chat to ejabberd chat

I have been using the normal javascript ajax chat i created manually. I also used this same format to create phone android messenger app. But it was using normal sockets.
so i have migrated to using ejabberd IM server and have developed the xmpp client messenger and it is working well with mysql module configurations.
But now i have history chats for messages by users and want to maintain the message. So i want to transfer these messages to the new database table called archive under ejabberd.
I have failed import the messages as they are very many in thousands.
so if some one know a script i can use to do the migration of data to the new database that will be good.
To my knowledge, there is not template migration script you can adapt already, but that would make a good contribution for ejabberd.

Laravel upload to Pagodabox

I'm new to pagodabox.
I have connected my github project to pagodabox. I'm using Laravel 4 and I already created a database.
However, how can I upload my local database to pagodabox so my project can use it?
Here's my project http://dreary-doria.gopagoda.com/
Last is, what files I need to configure in my laravel project so that I can use it? As you can see when you check the link, it's just going to the root and not rendering the public directory.