Skip to content

Backend for a EmpireStrides high school ny running website

License

Notifications You must be signed in to change notification settings

Declipsonator/StrideBack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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????!?!??

About

Backend for a EmpireStrides high school ny running website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages