Skip to content

Latest commit

 

History

History
133 lines (92 loc) · 3.83 KB

README.md

File metadata and controls

133 lines (92 loc) · 3.83 KB

Enigma.

Distributed computing solution for a world full of volunteers. Enigma uses the power of Map-Reduce and Docker to leverage unused CPU cycles of computers owned by people and acts as a bridge between developers and users.


System Design


Low Level Server Design


Queuing System


Live Demo

Client: https://the-enigma.netlify.app/
Backend : https://enigma-webapp.herokuapp.com/
Project Report : Report Link
Video Explanation : Video Link


💻 Tech stack

Frontend : ReactJS
Backend : Flask
Database : PostgreSQL
Software : Docker, NuxtJS, ElectronJS, Python


🦮 Installation Guide

A step by step series of examples that tell you how to get a development env running

In your cmd:

git clone https://github.com/Enigma-Distribution/enigma.git
cd enigma
  1. For database setup run the content of "database.txt" in pgAdmin
  • open pgAdmin
  • Create new database "enigma_db"
  • Open query tool and run content of "database.txt". This would create all the necessary tables in database.
  1. For server setup,
cd server
pip install -r requirements.txt

Create .env file in "server" directory and paste

SECRET='SOME@SECRET@321123'
POSTGRESURL='postgres://postgres:postgres@localHost:5432/enigma_db'
BUCKET_NAME="NOT REQUIRED"
aws_access_key_id = "NOT REQUIRED"
aws_secret_access_key = "NOT REQUIRED"

Run

  python enigma.py
  1. For website setup open another terminal,
cd enigma
cd public
npm install
npm start

You are done with the setup now!


📝 To-do List

  • Implement Proper Credit System wuth Payment gateway.
  • Add runtime support for Javascript, and other languages.
  • Software Updates.

📃 Acknowledgements & References