GithubHelp home page GithubHelp logo

alisalehi1380 / todo_nuxt_laravel_app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeffreymacatunggal01/todo_nuxt_laravel_app

0.0 0.0 0.0 201 KB

JavaScript 0.40% PHP 69.03% TypeScript 1.66% CSS 0.04% Vue 8.92% Blade 19.50% Dockerfile 0.44%

todo_nuxt_laravel_app's Introduction

Project Name

TODO APP

Description

This is a Todo App that uses Laravel as the backend framework and Nuxt.js as the frontend framework.

Prerequisite

  • Docker

Docker Setup

  1. Clone the repository.

Backend Installation

  1. Open terminal in the backend folder Then, run the following command to build and start the Docker containers:
   docker compose up -d --build
  1. Execute the migration of backend:
   docker exec Serve sh -c "cd /app && php artisan migrate"
  1. Then you can now run the backend by accessing localhost:8000.

Frontend Installation

  1. Add a new terminal that opens in the frontend folder Then, run the following command to build and start the Docker containers:
   docker compose up -d --build
  1. Then you can now run the site by accessing localhost:3000.

Unit Testing

The unit testing for this project is located in the backend/tests directory. It includes test cases for various components and functionalities of the project.

To run the unit tests, you can try this on terminal : For Feature Tests:

   docker exec Serve sh -c "cd /app && php artisan test --testsuite=Feature"

For Unit Tests:

   docker exec Serve sh -c "cd /app && php artisan test --testsuite=Unit"

License

This project is licensed under the MIT License.

todo_nuxt_laravel_app's People

Contributors

jeffreymacatunggal01 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.