Figured Test Blog - Backend
Live Demo on Heroku
https://figured-test-blog-frontend.herokuapp.com/
- Here i'm using only postgress as DB - because its free :D
- The Heroku app needs to wake up on the first hit. Please be patient ;)
Video App
Test Requirement
- Please build a blog (DONE)
- Users can read posts (DONE)
- Admin user can login and create, update and delete posts. (DONE)
- Using Laravel (DONE)
- PHP7 (DONE)
- MongoDB for storing the blog posts (DONE)
- MySQL for users and auth (DONE)
- Extra brownie points you can use Vue.js (DONE)
- Really try to wow us with the exercise, good clean code, laravel features, tests (Partial DONE)
- Aim for skinny controllers along with fatter models (DONE)
- Request-level validation and aim to keep methods small and clean (DONE)
- Middleware for authentication (DONE)
- if using any style guides. Vuetify (DONE)
- prefer validation over exception handling (DONE)
Frontend Project
Local Deploy Sequence
- Run
git clone https://github.com/getJv/blog_backend.git
- Run
cd blog
- Run
composer install
- Run
php artisan key:generate
- Set your database params at .env file
- Run
php artisan migrate --seed
- Run
php artisan passport:install
- update your
Client secret
at .env file (PASSPORT_CLIENT_SECRET) - Run your under your prefered webserver
- Enjoy your App
Docker Users
Just use the docker-compose up -d
to set up your local machine