GithubHelp home page GithubHelp logo

myminifactory's Introduction

  1. Run composer install to install project dependencies.
  2. Execute docker-compose up -d to start MySQL and mail server.
  3. Use php bin/console doctrine:migrations:migrate to run migrations.
  4. Run php bin/console doctrine:fixtures:load to create an admin user.
  5. Upload minifactory.postman_collection.json to Postman.
  6. Set up an Environment with a variable apiUrl = http://localhost:8000.
  7. To view emails after a purchase, access http://localhost:8025
  8. Admin user credentials, email: [email protected] pass: admin

Notes

  • Given the short amount of time to complete the bonus points, I mainly focused on making the project functional and left some best practices and didn't treat all of the corner cases.
  • The total amount of time was about 6 or so hours. As I mentioned, I haven't programmed in Symfony in a while and I started a little slow, needing to consult the documentation quite often.
  • Many improvements could have been made like: Treat all corner cases, Abstract the logic in the controllers to Services, enforce DRY principle, move frequently used dependencies to the constructor instead of the function injection, break bigger functions into smaller ones (Keep it simple), and others.

myminifactory's People

Watchers

Robert Pațan 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.