Skip to content

This repository houses the server-side components that power our application, and it's built on two powerful frameworks: FastAPI and SQLModel.

Notifications You must be signed in to change notification settings

stevedzakpasu/UniStudyHub-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hackathon-UniStudyHub-Backend

This repository houses the server-side components that power our application, and it's built on two powerful frameworks: FastAPI and SQLModel. PyPI version

Resource Storage Platform Mega Owner avatar

Front-end repo 👉 (https://github.com/elitekaycy/unistudyhub-web)

Introduction ▪️ Key Features ▪️ Install ▪️ Project Structure▪️ Credits ▪️ Related

Introduction

This project, aptly named "Bridging the Gap in Educational Materials Sharing Among Students," aims to revolutionize the way students access and share educational resources. In a world where learning materials are abundant but often scattered, our goal is to create a seamless and efficient platform for the exchange of knowledge. We recognize the challenges students face in accessing diverse learning resources, and we aspire to provide a solution that simplifies this process. By fostering a collaborative environment, we aim to empower students to easily discover, share, and engage with educational content.

Key Features

  • Share Resource with Friends
  • Get Access to Educational Materials for FREE
  • Create a community of learners and Educators
  • Earn Points while you learn

Install

To clone and run this application, you'll need Python3.10.5 installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/stevedzakpasu/Hackathon-UniStudyHub.git

# Go into the repository
$ cd Hackathon-UniStudyHub

# create a virtual env annd activate
- on cmd
python -m venv myvenv
myvenv\Scripts\activate

# Install Requirements
$ pip install -r requirements.txt

# manually delete any version of the migration
# add the .env file with the details

# make migrations with
$ alembic revision --autogenerate -m "the message"

# go into the migration file (Under - alembic folder -> versions) and add the import below
import sqlmodel.sql.sqltypes

# upgrade head
$ alembic upgrade head

# Run 
$ uvicorn main:app --reload

# proceed to the url, and authenticate
http://127.0.0.1:8000/docs

simple!! 😃

Project-Structure

Credits

This software uses the following open source packages:

About

This repository houses the server-side components that power our application, and it's built on two powerful frameworks: FastAPI and SQLModel.

Resources

Stars

Watchers

Forks

Languages