GithubHelp home page GithubHelp logo

strideback's Introduction

StrideBack

The backend for a high school NY running website. This is an api that is built in Python using FastAPI. The api can be hosted anywhere but uses MongoDB as the database.

Info

  • The frontend is currently unpublished but will be worked upon in the future.
  • I'm new to FastAPI and MongoDB so this is a learning experience for me, if you have any suggestions or improvements please let me know.
  • This project is licensed under the GNU General Public License v3.0.

Installation

Setup

  • Clone the repository
  • Install the required packages using pip install -r requirements.txt
  • Create a .env file in the app folder like the following:
MONGO=mongodb://yourmongoURI
SECRET=your_secret_key_for_jwt
DEVELOPMENT=True/False

# The following variables are only required if DEVELOPMENT is False
EMAIL=your_email
EMAIL_PASSWORD=your_email_password
SMTP_HOST=your_smtp_host

# The following is what is emailed out to the user
CONFIRM_EMAIL_URL=http://localhost:8000/users/confirm-email/{code}
RESET_PASSWORD_URL=http://localhost:8000/users/reset-password/{code}

Usage

  • Run the server using uvicorn main:app --reload in the app folder

Todo

  • Simple login/registration system with JWT tokens
  • Account verification and password reset
  • Email system
  • Public profiles with bio
  • Post system
  • Comment system
  • Like system
  • Follow system
  • Fantasy XC????!?!??

strideback's People

Contributors

declipsonator avatar

Stargazers

 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.