Git Product home page Git Product logo

registration_login's Introduction

User-Registration-and-Login-system

Prerequisites

  • You will need to have Python3
  • Setup virtualenv and install dependencies from req.txt
your_pc$ virtualenv -p /usr/bin/python3 venv
your_pc$ source venv/bin/activate
(venv)your_pc$ pip install -r req.txt
(venv)your_pc$ uvicorn main:app --reload

Requests and Response

http://127.0.0.1:8000/auth/registration/

Request Body

{
    "name" :"a",
    "email" : "b",
    "phone" :"c",
    "password" : "d"
}

Response Body

"User Created!"

http://127.0.0.1:8000/auth/login/

Request Body

{
    "email" : "b",
    "password" : "d"
}

Response Body

"Login Successful!"

Project Organization

├── README.md          <- The top-level README for developers using this project.
│
├── db.db              <- Database
│
├── req.txt            <- The requirements file for python environment
│
│── .gitignore         <- you know what this is :P
│
├── main.py            <- contains the python script

registration_login's People

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.