Coder Social home page Coder Social logo

patumang / laravel-vue-spa-challenge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from outgive-inc/laravel-vue-spa-challenge

0.0 0.0 0.0 2.88 MB

A Laravel-Vue SPA starter kit.

Home Page: https://laravel-vue-spa.cretueusebiu.com

License: MIT License

PHP 81.10% Vue 17.26% Shell 0.46% Blade 1.18%

laravel-vue-spa-challenge's Introduction

Laravel-Vue SPA Coding Challenge

References

Features

  • Laravel 8
  • Vue + VueRouter + Vuex + VueI18n + ESlint
  • Pages with dynamic import and custom layouts
  • Login, register, email verification and password reset
  • Authentication with JWT
  • Bootstrap 5 + Font Awesome 5
  • Laravel Sail integration

Objective

To create a note taking app using Laravel and VueJS and to create a page to get rates from the Stallion API.

Insructions

You are going to use a pre-configured application to create a simple CRUD application. Laravel is used on the back-end Vuejs is used on the front end as a SPA.

Note: There is already JWT authentication implemented for the app.

TODO: The application should allow you to create, edit, and delete delete notes. Notes will be save to the database. Notes will have a title, content, and created_at displayed on the front end.

Part 1: Note Taking App

  1. Save the created notes in the database
  2. Create the necessary table with Laravel migrations
  3. Create all require restful routes to achieve the CRUD functionality
  4. Create required Front End components to access the API you created
  5. Authenticated user needs to be able to view all notes, create new notes, edit existing notes, and delete notes.
  6. Create phpunit tests for the new feature

Part 2: Shipment Rate API

  1. Create a page where a user can fill out a form to get rates for the United States using the Stallion API
  2. Display these rates to the user showing the cost information

Grading Scheme

  • Functionality: Out of 10
  • UX/Design: Out of 10
  • DB Design: Out of 5
  • Validation: Out of 10
  • Coding Style: Out of 10
  • Testing: Out of 5

Include front-end and back-end validation. Feel free to use your creativity and design skills to make the existing site design your own.

Installation

Copy ENV

cp .env.example .env

Use Docker container containing PHP and Composer to install the application's dependencies https://laravel.com/docs/8.x/sail#installing-composer-dependencies-for-existing-projects

docker run --rm \
    -u "$(id -u):$(id -g)" \
    -v $(pwd):/var/www/html \
    -w /var/www/html \
    laravelsail/php81-composer:latest \
    composer install --ignore-platform-reqs

Run Sail

./vendor/bin/sail up

Setup Application Keys

./vendor/bin/sail artisan key:generate 
./vendor/bin/sail artisan jwt:secret

Run Migrations

./vendor/bin/sail artisan migrate 

Install Node Dependencies

./vendor/bin/sail npm install

Usage

Development

./vendor/bin/sail npm run watch

View app at: http://localhost:3000

Production

./vendor/bin/sail npm run build

Testing

# Run unit and feature tests
./vendor/bin/sail test

laravel-vue-spa-challenge's People

Contributors

cretueusebiu avatar temasm avatar jimohalloran avatar miraries avatar firtzberg avatar reenekt avatar monas avatar outgive-inc avatar mchev avatar compy avatar overtrue avatar dependabot[bot] avatar curder avatar qwici avatar nelson6e65 avatar nandi95 avatar lecastro avatar gmariano1 avatar cesaramirez avatar bishoyromany avatar ahmad-safar 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.