A simple CRUD app made with Nuxt / Laravel (Docker)

As the title suggests, I created a simple CRUD app with Nuxt on the front and Laravel on the back and deployed it on heroku. I would like to summarize each specific explanation in a separate article.

Created application

スクリーンショット 2021-01-12 16.19.35.png

Nuxt uses sanctum for SSR (universal) and API authentication.

function

--Validation: Only the user (person) who posted the comment can edit and delete --Like function: The color of the button you like changes to yellow. Press it again to cancel.

Task

--Error handling --Error message on registration form Need to be created more. Initially, we introduced vee-validate (plug-in), but since it was not easy to use, we are currently responding with a simple message. ――There was a situation where it should have been working before, but it stopped working due to a careless mistake. It was a loss of time, so I felt the importance of testing. I want to loosely couple each function to make it easier to test.

reference

Docker deployment -[Deploy Docker environment to Heroku with git push](https://qiita.com/stepiko135/items/24c462c0a065e6f579a6) -[Deploy docker + Laravel app to heroku](https://www.gintonix.xyz/post-254/#toc4) -[[Super Introduction] Docker Hands-on to Build Laravel Development Environment at Explosive Speed ​​in 20 Minutes](https://qiita.com/ucan-lab/items/56c9dc3cf2e6762672f4)
Nuxt -[Write Promise, async/await code using Nuxt](https://qiita.com/yasudadesu/items/3262784bd4e45df57314) -[How to start processing after waiting for a certain period of time with JavaScript](https://laboradian.com/js-wait/) -[Let's make a photo sharing app with Vue + Vue Router + Vuex + Laravel (16) Error handling Part.2](https://www.hypertextcandy.com/vue-laravel-tutorial-error-handling-part-2)
Laravel -[Laravel Let's remove the sticky cache! ](https://qiita.com/A-Kira/items/5fd039217ba992481267)
Auth -[Implement login function using Auth Module in Nuxt.js](https://qiita.com/itouuuuuuuuu/items/1dc6401022e0d771c757) -[[Laravel + Vue] Try to build API authentication using Laravel Sanctum](https://qiita.com/ntm718/items/ada07bad631a39ca30b9) -[FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed when using nuxt.js + auth] --JavaScript heap out of memory solution](https://qiita.com/RikuKomiya/items/9543770f6b0a9ea1936e) -[[Nuxt.js] Implement redirect processing before and after login with middleware](https://blog.cloud-acct.com/posts/u-nuxt-redirect-middleware/)




Recommended Posts

A simple CRUD app made with Nuxt / Laravel (Docker)
Practice making a simple chat app with Docker + Sinatra
[Rails] I made a simple calendar mini app with customized specifications.
[docker] [nginx] Make a simple ALB with nginx
I made a rock-paper-scissors app with kotlin
Implement simple CRUD with Go + MySQL + Docker
I made a rock-paper-scissors app with android
Create a simple search app with Spring Boot
Build a Laravel / Docker environment with VSCode devcontainer
Create a docker image that runs a simple Java app
Deploy with EC2 / Docker / Laravel
I made a chat app.
I made a development environment with rails6 + docker + postgreSQL + Materialize.
Create a simple CRUD with SpringBoot + JPA + Thymeleaf ③ ~ Add Validation ~
[Portfolio] Manage site with laravel APP implementation (Docker environment construction)
Make a simple CRUD with SpringBoot + JPA + Thymeleaf ① ~ Hello World ~
Make a simple CRUD with SpringBoot + JPA + Thymeleaf ⑤ ~ Template standardization ~
Create a Vue3 environment with Docker!
Deploy a Docker application with Greengrass
Build a Node.js environment with Docker
Create a simple CRUD with SpringBoot + JPA + Thymeleaf ④ ~ Customize error messages ~
Build a SPA for Laravel 6.2 / Vue.js / Nginx / Mysql / Redis with Docker
I made a shopify app @java
I made a GUI with Swing
Creating a timer app with a muddy
General error: 1812 occurs with docker + laravel
Prepare a transcendentally simple PHP & Apache environment on Mac with Docker
I made a simple search form with Spring Boot + GitHub Search API.
Create Laravel environment with Docker (docker-compose)
Operate a honeypot (Dionaea) with Docker
I made a simple recommendation function.
I made a matching app (Android app)
Build docker + laravel environment with laradock
Run a simple model made with Keras on iOS using CoreML
[Android] I made a pedometer app.
Create a simple CRUD with SpringBoot + JPA + Thymeleaf ② ~ Screen and function creation ~
I made an app to scribble with PencilKit on a PDF file
[Copy and paste] Build a Laravel development environment with Docker Compose Part 2
[Copy and paste] Build a Laravel development environment with Docker Compose Participation
[Ruby] I made a simple Ping client
[Rails6] Create a new app with Rails [Beginner]
Create a simple web application with Dropwizard
Laravel development environment construction with Docker (Mac)
Build a PureScript development environment with Docker
Create a simple on-demand batch with Spring Batch
Scraping with puppeteer in Nuxt on Docker.
Environment construction with Docker (Ubuntu20.04) + Laravel + nginx
[Rails withdrawal] Create a simple withdrawal function with rails
Create a MySQL environment with Docker from 0-> 1
Shiritori map app made with Swift UI
Create a simple bar chart with MPAndroidChart
I made a risky die with Ruby
Laravel + MySQL + phpMyadmin environment construction with Docker
Build a Wordpress development environment with Docker
I made a calculator app on Android
[Rails 5] Create a new app with Rails [Beginner]
Display API specifications with Laravel + SwaggerUI + Docker
I made a bulletin board using Docker 1
Build a simple Docker + Django development environment
[Memo] Create a CentOS 8 environment easily with Docker
Create a simple bulletin board with Java + MySQL