Giter Club home page Giter Club logo

simpleshop's Introduction

SimpleShop

Simple webserver running django 2.0 and MySQL for coding assessment. Asynchronous Email service using Amazon SQS, Sendgrid, and Celery 3.1.25 Implemented middleware to force user login to view any of the pages.

Front-end was designed by simply using Bootstrap 4.1.1 and Django's built in templating tool. For the following requirement: "Use any of the many standard front-end frameworks to enhance the presentation of the site (Angular, React, Vue etc.)." I wasn't sure whether using one of those javascript frameworks was a requirement, or if "standard front-end framework" included Bootstrap, Semantic UI, and other CSS libraries.

I forewent the Single Page App route with the javascript frameworks primarily because it was somewhat counterintuitive with the Django's templating tools. I could have used Vue/React to create components and loaded them onto a Django template, but I felt that it did not provide much functionality. I apologize if I misinterpretted the requirement.

Future Improvements

  • Improved error messages on forms
  • Refactor code to be more DRY, especially the templating and views.
  • Optimizing the database queries. I didn't take any special consideration for redundant or inefficient database queries simply because of the scale of this app.
  • Split single "monolithic" app into multple smaller apps for improved modularity and maintainability.
  • Perhaps add a RESTful API, which would allow for full utilization of a Front-end JS framework.
  • Create tests for further development
  • Dynamic forms for adding items to an order. Add Line button, instead of generating 5 extra lines initially.

simpleshop's People

Contributors

dangjoeltang avatar

Watchers

James Cloos 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.