Coder Social home page Coder Social logo

flixfix's Introduction


flixfix

Your fix for personal movie records.

Key Features

  • Registration - with email and password

    • Validate if email is valid
    • Validate if email is registered
    • Complete password validation
  • Login features

    • Validate email and passwor matches
  • Add your favorite movies

    • Make them public or private
  • Secure Authentication features

  • JSON requests and responses

How to use

The project is deployed on AWS you'll find all the endpoints that are available with documentation, please try them on!

Movie creation example:

POST
{
  "title": "Pirates of the Caribbean",
  "score": 8.8,
  "description": "A movie about pirates",
  "review": "amazing",
  "is_private": true
}

RESPONSE
201
{
  "title": "Pirates of the Caribbean"
}

Built with

  • Python 3.10.6
  • Django 4.1.5
  • Django Ninja 0.20.0
  • gunicorn 20.1.0
  • nginx 1.18.0
  • sqlite3

Requirements

  • Create a registration service that receives an email and a password.

    • Validate email is a valid email address.
    • Validate email is not already registered in the database.
    • Validate password contains at least 10 characters, one lowercase letter, one uppercase letter and one of the following characters: !, @, #, ? or ].
    • If any of the above is not valid, send back a meaningful response.
  • Allow login into the server with an email and a password.

    • Validate email is a valid email address
    • Validate email is already registered in the database
    • Validate email and password matches for a previous registered user.
    • If any of the above is not valid send back a meaningful response.
    • If all of the above are valid send back a payload including some way for users to identify themselves for subsequent requests. That way to identify users should be invalid after 20 minutes and the user must login again to continue communication with the server.
  • Allow logged in users to do CRUD operations into a table/collection of the topic you picked above.

    • Users should be able to create a new element that can only be retrieved by themselves (Private item), or that can be retrieved by others (Public item).
    • Users should be able to read all public elements in the table/collection.
    • Users should be able to read all elements created by themselves.
    • Users should be able to edit at least one field in one of their private items.
    • Validate that users are trying to read or update their own private elements, otherwise send a meaningful response.

flixfix's People

Contributors

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