Code Monkey home page Code Monkey logo

pmsubservice's Introduction

PMSubService Task for PM Connect

You can find my work for the PM Connect Proposed test in this public repo.

I've spent a few hours going over a Laravel way to complete this, Laravel offers the best chance to "cut a few corners" and speed up time to market as it provides quite a few features "out the box" such as but not limited to Authentication, API, Sanitising, Caching and Migrations.

I'd have normally done a deep dive of the requirements and scoped out a week sprint and written unit tests but time is not on my side due to work requirements and sleeping patterns.

You can get this running locally by pulling the repo down and doing a composer install followed by npm install this will install the vendors and set up the basic system.

Unless you have a MYSQL database to hand this will use the flatfile sqlite to allow for faster testing. Run touch database/database.sqlite to generate the database and run php artisan db:seed to seed whatever database you use.

Make sure if you use MYSQL to update the enviroment variables in the step below - Laravel Database Docs

You can copy the .env.example to .env for the environment. I've included a basic environment with this copy to speed that process up, but normally environment variables would be kept outside source control.

If you need a database dump, please ask. You can run php artisan migrate to migrate the database schema and head to /register to create an account for the admin dashboard, it currently does not protect the /dashboard route but will at a later date.

The frontend, will use VueJS but currently the endpoints and JSON API I have planned to use JSONP standard but at this stage is not ready.

You will need to generate a bearer token to use postman you can do this on the dashboard of the application all api routes are protected so you cant test without one.

pmsubservice's People

Contributors

xitude avatar

Watchers

 avatar  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.