Code Monkey home page Code Monkey logo

common-space's Introduction

Microsoft Engage 2021

Problem Statement

Build a functional prototype of a platform that gives students an array of digital academic and social tools to stay engaged with their studies, peers and broader university community during pandemic.

COMMON SPACE

We Unite People

https://common-space.azurewebsites.net/
Note: You can create your own account by clicking on register button
OR use default credential as
UserName: simran Password: qwerty

It's a blogging + QnA website for enthusiast people from diverse background built solely by me using a completely different stack.

Built using flask

  • FrontEnd: HTML, CSS, Javascripts
  • Database: MySQL

Pre-requisites

  • Python 3.9.9

  • MySQL 8.0

    • Create database
    CREATE DATABASE common_space;
    • Dump database (Optional step to get dummy data)
      mysql -u<username> -p<password> common_space  < ./dbdump/common_space.sql

Note: find the databases dump file in database folder

Installation Steps

  1. Clone this repository to your desktop
git clone https://github.com/kathuriasimran/common-space.git
  1. Go to the Common_space directory and create a new virtual environment to create isolated Python environment. Note: I highly recommend using Virtualenv.
py -m venv env
  1. Activate the virtual environment
env\Scripts\activate
  1. Install the application requirements:
pip install -r requirements.txt
  1. Configure the database and app
    for detail explaination go to how it work

  2. Run the application and go to localhost:8000 to see the application running:

python run.py

How it works

As mention in point five of installation config look as below

config.json

{
    "startup_conf":
                        {
                            "app_name" : "Common Space",
                            "host":"0.0.0.0",
                            "port":8000,
                            "debug":true,
                            "use_reloader":true,
                            "secret_key":"S3$&F@$%DSRER"

                        },

    "database_conf":   
                        {
                            "type":"mysql",  # This can be mysql / azure_sql 
                            "url":"localhost",
                            "port":3306,
                            "database_name":"common_space",
                            "username":"root",
                            "password":"simran"

                        }
}

Alt text

COMMON SPACE

Contributor

Created by Simran Kathuria

common-space's People

Contributors

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