Git Product home page Git Product logo

testtask-jetbridge's Introduction

JetBridge Test

So... my laptop was broken, and here is my piece of art made in one night.

Basis

This is a social network where people can post 4 photos, using different templates and invite other users to this network.
Users can see how many users have joined the network, and how many of them have been invited by a particular user.

On the main page you will alway see last 10 joined users. You can view their profiles. Also you can view and edit your profile.

Authentification

In this app you can Login, Logout and Sign Up with or without invitation code

A few words about invites

Code is a model in db linked with User. It forms using integer and its own type.

The integer will be encoded to base58 using BitCoin Alphabet, and the type is 'P' for personal, 'E' for enterprise, 'H' for host. Also invitation link storing this and qr code storing this link will be generated. Using this link will automaticly fill up 'Invitation code' field on registration page.

Generator

You can also generate some random users using django shell.
To do this:

from generator.generator import Generator
g = Generator()
g.generate()

It's working slow cause it have several 5 request for each user with 0.7 seconds timeout after each request, and also image cropping takes some time. But if set periods in config to 3 it will take about 5 mins I think.

I don't know wath else to write. Due to laptop breakdown my terms have shifted, so this code gets a little messy, sowwy)

testtask-jetbridge's People

Contributors

four-velocity avatar

Stargazers

 avatar

Watchers

 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.