Git Product home page Git Product logo

old-moshi's Introduction

Old Moshi

Old Moshi is a web application built using Flask and Supabase. This project is structured to support different user roles such as admin, academic, teacher, and parent.

Project Structure

old_moshi_secondary/ │ ├── app/ │ ├── init.py │ ├── config.py │ ├── models/ │ │ └── init.py │ ├── static/ │ │ ├── css/ │ │ ├── js/ │ │ └── images/ │ ├── templates/ │ ├── utils/ │ │ ├── init.py │ │ └── helpers.py │ └── views/ │ ├── init.py │ ├── admin.py │ ├── academic.py │ ├── teacher.py │ └── parent.py │ ├── tests/ │ └── init.py │ ├── venv/ ├── .env ├── .gitignore ├── requirements.txt └── run.py

Setup

  1. Clone the repository:

    git clone <repository-url>
    cd Old-Moshi
  2. Create a virtual environment and activate it:

    python -m venv env
    source env/Scripts/activate  # On Windows
    source env/bin/activate      # On Unix or MacOS
  3. Install the dependencies:

    pip install -r requirements.txt
  4. Set up environment variables: Create a .env file in the root directory and add your Supabase URL and Key:

    SUPABASE_URL=<your-supabase-url>
    SUPABASE_KEY=<your-supabase-key>
  5. Run the application:

    flask run

Configuration

The application configuration is managed in the Config class. You can modify the configuration settings as needed.

Blueprints

The application uses Flask blueprints to organize the code for different user roles:

License

This project is licensed under the MIT License.

old-moshi's People

Contributors

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