diff --git a/public/js/app.js b/public/js/app.js index 11b72d6..54568e4 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -206,7 +206,8 @@ new Vue({ methods: { onSubmit() { this.form.post('/projects') - .then(response => alert('Wahoo!')); + .then(data => console.log(data)) + .catch(errors => console.log(errors)); } } }); diff --git a/storage/database.sqlite b/storage/database.sqlite new file mode 100644 index 0000000..7aefa93 Binary files /dev/null and b/storage/database.sqlite differ