Giter Site home page Giter Site logo

morphosis-nitmz / stock-bridge-2018 Goto Github PK

View Code? Open in Web Editor NEW
22.0 6.0 9.0 5.99 MB

An online stock market simulator built using Django.

Home Page: https://stock-bridge-2018.herokuapp.com/

License: MIT License

Python 70.75% HTML 27.40% CSS 1.85%
stock-market stock-market-simulator django django-rest-framework python3 chartjs heroku aws-s3 sendgrid

stock-bridge-2018's Introduction

Stock Bridge

Keeping in view the real thrill of the market monotony, we are here with the Virtual Simulation of the same thrill and adrenaline rush through the event under the banner of Morphosis, NIT Mizoram. The virtual share market enables the participants to trade, buy, sell mortgage and showcase their rationality, their mettle against competitive decision making under pressure. The full time active virtual market will be a platform to showcase your inferential, pressure-handling capability.

Tools Used

  • Python - Django, Django REST Framework
  • Javascript - Chart.js
  • Bootstrap v4

Third Party Services Used

  • Amazon Web Services (AWS): Stores all static and media files.
  • Heroku: Used to deploy the project in production environment.
  • sendgrid: Used to send transactional emails like email-id verification, order completion etc.

Instructions for setting up the project

  1. Clone the repository
    git clone https://github.com/morphosis-nitmz/Stock-Bridge

  2. Rename the file .env-sample to .env and replace the value of SECRET_KEY with the secret key of your own project. To generate a new secret key

    • Go to terminal and create a new django project django-admin startproject <proj-name>.
    • Now get the value of SECRET_KEY in settings.py and use that as the secret key for the Stock-Bridge project.
    • Now delete that new django project.
  3. Sendgrid setup:

    • Create an account on sendgrid.
    • Add your sendgrid username and password to EMAIL_HOST_USER and EMAIL_HOST_PASSWORD in .env respectively.
    • Change the email and name in DEFAULT_FROM_EMAIL and MANAGERS in all settings files with your name and email.
  4. Amazon Web Services (AWS) setup:
    Follow this guide to setup AWS in the project: AWS Setup. After settings up AWS, add all the required values to .env

  5. Heroku setup:
    Follow this guide to setup Heroku in the project: Heroku Setup.

  6. Run the following commands
    python manage.py makemigrations
    python manage.py migrate
    python manage.py collectstatic

  7. Now load the entries in Company model into the database
    python manage.py loaddata market/fixtures/market.json

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.