Setup wizard update

This commit is contained in:
carodej
2020-07-01 11:01:54 +02:00
parent aedc98cc8b
commit a98625876d
46 changed files with 2487 additions and 263 deletions
+14
View File
@@ -16,6 +16,20 @@
|--------------------------------------------------------------------------
*/
// Setup Wizard
Route::group(['middleware' => ['api'], 'prefix' => 'setup'], function () {
Route::post('/purchase-code', 'General\SetupWizardController@verify_purchase_code');
Route::post('/database', 'General\SetupWizardController@setup_database');
Route::post('/stripe-credentials', 'General\SetupWizardController@store_stripe_credentials');
Route::post('/stripe-billings', 'General\SetupWizardController@store_stripe_billings');
Route::post('/stripe-plans', 'General\SetupWizardController@store_stripe_plans');
Route::post('/environment-setup', 'General\SetupWizardController@store_environment_setup');
Route::post('/app-setup', 'General\SetupWizardController@store_app_settings');
Route::post('/admin-setup', 'General\SetupWizardController@create_admin_account');
});
// Plans
Route::group(['middleware' => ['api'], 'prefix' => 'public'], function () {
Route::get('/pricing', 'General\PricingController@index');