GithubHelp home page GithubHelp logo

amass_backend's Introduction

amass_backend

This project was built due to influence of a community I was leading at the moment. I wanted to create a platform where you can get information about particular events that we held, rsvp for the event, pay for the event and get a confirmation of the ticket and add it to your calendar.

The project was built using Django and Django Rest Framework.

The project is divided into different applications:

The Accounts Appication, uses tokenization to authenticate users who would like to login/sign up for the event. I also incorporated serializers that convert complex data such as querysets to python native datatypes that can be rendered in JSON OR XML. I used the class methid decorator that receives self as the implicit first argument and you can use its properties inside the method, also it has access to every attribute.

When using DRF we can combine logic for a set of related views in a single class called viewsets. Viewsets provide actions such as .list() and .create() Two advantages of using this is repeated logic can be combined into a single class and we can only specfy the queryset once. Viewsets uses routers meaning we do not need to deal with wiring up our Urls configurations ourselves.

I used celery as a worker to send emails and redis as its broker. The celery tasks are like python functions called using celery.

amass_backend's People

Contributors

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