Code Monkey home page Code Monkey logo

it-services's Introduction

IT Services

The IT Services is a web application built with Django and Django REST Framework to manage Services and Subscription orders.

Functionality

Users App

  • User Registration and Authentication: Allows users to register with their name, email, and mobile number. Supports user authentication with mobile number and password.
  • Password Management: Provides functionality for users to reset their passwords if forgotten.
  • Logout: Enables users to log out securely.

Installation and Setup

  1. Clone the repository from GitHub:

    git clone https://github.com/vishaljangid9413/it-services.git
  2. Install the project dependencies:

    pip install -r requirements.txt
  3. Run the Django migrations to set up the database:

    python manage.py makemigrations
  4. Run the Django migrations to set up the database:

    python manage.py migrate
  5. Start the development server:

    python manage.py runserver
  6. Create a Superuser Account to access admin panel:

    python manage.py createsuperuser
  7. Access the application in your web browser at http://localhost:8000.

Dependencies

  • Django: Web framework for building web applications in Python.
  • Django REST Framework: Toolkit for building Web APIs in Django.
  • Django Rest Allauth Token: Implements Allauth Token functionality in Python.

Advanced Code Practices

  • Custom User Model: Uses a custom user model to extend Django's built-in user model with additional fields.
  • Serializer Usage: Utilizes Django REST Framework serializers for data serialization and deserialization.
  • Signals: Uses Django signals to trigger actions upon certain database events, such as saving or deleting objects.
  • ViewSets: Implements Django REST Framework viewsets for CRUD operations on database models.
  • Token Authentication: Implements token-based authentication for user login and session management.

Robustness Checks

  • Input Validation: Validates user input using Django model validators and form validation.
  • Error Handling: Implements error handling and returns meaningful error messages to users.
  • Data Integrity: Ensures data integrity by performing data validation and enforcing constraints at the model level.
  • Security Measures: Implements security measures such as password hashing and token-based authentication to protect user data.

it-services's People

Contributors

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