forked from ekpono/sentry-my-customer-frontend
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
451 changed files
with
2,803 additions
and
779 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,70 @@ | ||
# mycustomer | ||
# mycustomer | ||
|
||
<div align="center"> | ||
|
||
![hng](https://res.cloudinary.com/iambeejayayo/image/upload/v1554240066/brand-logo.png) | ||
|
||
<br> | ||
|
||
</div> | ||
|
||
# Installation Guide | ||
|
||
- Install [Composer](https://getcomposer.org) & [Laravel](https://laravel.com) | ||
<br> | ||
|
||
|
||
|
||
Fork The Repo And Clone Your Fork | ||
|
||
```bash | ||
cd sentry-my-customer-frontend | ||
``` | ||
```bash | ||
git remote add upstream https://github.com/hngi/sentry-my-customer-frontend.git | ||
``` | ||
|
||
```bash | ||
git pull upstream develop | ||
``` | ||
|
||
```bash | ||
cp `.env.example` to `.env` | ||
``` | ||
|
||
```bash | ||
composer install | ||
``` | ||
|
||
```bash | ||
php artisan serve | ||
``` | ||
|
||
|
||
Visit localhost:8000 in your browser | ||
|
||
|
||
When You Make Changes | ||
|
||
```bash | ||
git add . | ||
``` | ||
|
||
```bash | ||
git commit _m "commit message" | ||
``` | ||
```bash | ||
git pull upstream develop | ||
``` | ||
Make Sure there is no conflict | ||
|
||
```bash | ||
git push origin develop | ||
``` | ||
Then Create Your Pull Request | ||
|
||
- **Also Add description of what you did in your pull request** <br> | ||
|
||
|
||
|
||
# Contribution Guide |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
namespace App\Http\Controllers; | ||
|
||
use Illuminate\Http\Request; | ||
use Illuminate\Support\Facades\Cookie; | ||
|
||
class ActivateController extends Controller | ||
{ | ||
// | ||
|
||
public function index() | ||
{ | ||
if (Cookie::get('is_active') == true) { | ||
return redirect()->route('dashboard'); | ||
} | ||
|
||
$api_token = Cookie::get('api_token'); | ||
$phone_number = Cookie::get('phone_number'); | ||
return view("backend.activate.activate")->withApiToken($api_token)->withPhoneNumber($phone_number); | ||
} | ||
} |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Oops, something went wrong.