Skip to content

A Laravel test build by Incline Start-up Agency. Testing Git and framework functions.

License

Notifications You must be signed in to change notification settings

inclineteam/incognitoconfessions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Incognito-Confessions

A laravel test build by Incline Start-up Agency. Testing Git and framework functions.

Description

A laravel starter for future team project. Anyone is open to use this laravel template for personal and commercial use.

Getting Started

Dependencies

  • Composer
  • Node
  • XAMPP

Installation

  • Create an environment file .env
  • Copy .env.example's content and paste it in the environment file
  • Run npm install to install dependencies

Authentication

  • For sending email (Gmail), you need to enable 2-factor verification and create an app password
  • Add this on "smtp" inside config/mail.php
'driver' => env('MAIL_DRIVER', 'smtp'),
'from' => ['address' => '<gmail-address>', 'name' => 'Do Not Reply'],
'sendmail' => '/usr/sbin/sendmail -bs',
  • Then add your gmail address, and app password inside the .env
MAIL_USERNAME=<gmail-address>
MAIL_PASSWORD=<app-password>
MAIL_FROM_ADDRESS=<gmail-address>
  • Then run these 2 commands
php artisan config:cache
php artisan config:clear
  • Create GitHub, Google, and Facebook client id, and secret. Follow this format for each provider inside config/services.php
'<provider>' => [
    'client_id' => env('<PROVIDER>_CLIENT_ID'),
    'client_secret' => env('<PROVIDER>_CLIENT_SECRET'),
    'redirect' => 'http://localhost:8000/auth/callback/<provider>',
],

Recaptcha

  • Go to google's recaptcha and create a new project there for captcha and obtain your secret key and site key

  • Then add secret key and site key inside the .env

NOCAPTCHA_SECRET=<secret-key>
NOCAPTCHA_SITEKEY=<site-key>
  • Then run this command
composer install
  • Then youre ready to go

Database

  • Change the name of the database inside the .env or create a database called incognito_confessions on your mysql database

Example

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=incognito_confessions
DB_USERNAME=root
DB_PASSWORD=admin
  • Execute these commands once done
php artisan migrate

php artisan migrate:refresh

php artisan migrate:refresh --seed // optional

You might get an error after running php artisan migrate:refresh --seed, so we suggest you to delete the database, create new one and run php artisan migrate.

  • Then you are all set to go just execute these commands in two different terminals to run the project
npm run dev
php artisan serve

Maintenance mode

php artisan down --render="errors::maintenance" // maintenance mode
php artisan up // disable maintenance mode

Authors

  • Percival Ian Muico
  • Ishmael Cascabel
  • John Aeron Sencil

Version History

  • v0.0.9

    • Privacy Policy, Terms of Service, About Page and Cookie policy
    • Added maintenance template
  • v0.0.8

    • Admin Panel
    • Adsense Containers
    • GPDR cookie compliance
  • v0.0.7

    • Replies and React Feature
    • Anti spam reply
  • v0.0.6

    • Added security ( #Recaptcha )
    • Download Confessions Letter Image
  • v0.0.5

    • Create, Update, and Delete Confessions
  • v0.0.4

    • Authentication
    • Added Home Dashboard and Confessions Page
    • Search bar
  • v0.0.3

    • Added card components
    • Changed default landing page
  • v0.0.2

    • Laravel framework installation
    • Tailwind CSS installation
    • Landing page initial commit
  • v0.0.1

    • Initial build

License

This project is licensed under the General Public License - see the LICENSE.md file for details

Acknowledgments

Inspiration, code snippets, etc.

About

A Laravel test build by Incline Start-up Agency. Testing Git and framework functions.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages