GithubHelp home page GithubHelp logo

palo-alto-socket's Introduction

Command to test complete API flow : python manage.py test

Django based chat app :

https://github.com/Ankit-jailwal/Palo-Alto-Chat-App/tree/auth_flow

Web Socket using Node.js :

https://github.com/adefemi/chatApp-socket

Frontend using react:

https://github.com/Ankit-jailwal/Palo-Alto-Frontend

How to run:

  1. Go to django root project
  2. Run pip install requirements.txt
  3. Run python manage.py makemigrations
  4. Run python manage.py migrate
  5. Run python manage.py runserver
  6. Run python manage.py test (To test all API endpoints)
  7. Go to root of socket project(https://github.com/Ankit-jailwal/Palo-Alto-Socket)
  8. Run npm start (This will create live web socket between host and client)
  9. Then open this URL for frontend https://ankit-jailwal.github.io/Palo-Alto-Frontend/#/login

Tech Used:

AWS S3 bucket for storing files Django for creating backend APIs React for frontend Github hosting for deployment

NOTE: Tried to deploy backend to Digital Ocean using docker container of backend project and using CloudFlare DNS but could not do it in given time constraints

Created endpoints for several API testing like: Test generic functions Test authentication Test User info Test message flow Test File upload

Features:

  1. Complete backend
  2. Contains test cases in test.py for testing each API
  3. Hosted on github
  4. End to end encrypted
  5. P2p chat supported
  6. File transfer supported
  7. File stored on S3 Bucket on local storage
  8. Is online feature supported
  9. Message count can be seen
  10. Complete authentication flow
  11. Contains admin portal where details of each user can be seen and managed at /admin Follows OWASP

palo-alto-socket's People

Contributors

ankit-jailwal 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.