Skip to content

Alpha Phi Omega, Epsilon Zeta Chapter Website Backend built with Fast API and MongoDB

License

Notifications You must be signed in to change notification settings

alpha-phi-omega-ez/backend

Repository files navigation

apoez.org

Backend service for APOEZ's website to display chapter information and run the campus lost and found system.

Setup

Clone the repository and enter it

git clone https://github.com/alpha-phi-omega-ez/backend.git
cd backend

Environment Variables

Create environment variable through a .env file or other methods

SECRET_KEY = "[[RANDOM STRING]]" # for testing/development a random one will automatically be generated
CONFIG = "config.TestingConfig"

The Config type can be changed to match the environment it is being run in, with the current options being TestingConfig and ProductionConfig.

Requirements

Use uv to install needed libraries

uv install

Run the service

The server will auto-reload on changes to make it easier to develop and test.

make develop

or

uv run fastapi dev --port 9000

Linting and formatting

This project uses ruff for linting in pull requests via github actions, it is recommended that you run format with ruff and/or install ruff in VSCode of your code editor and setup editor formatting using ruff.

Lint

ruff check server

Format

ruff format server

Authors

License

This project is licensed under the GNU Public License - see the LICENSE file for details

About

Alpha Phi Omega, Epsilon Zeta Chapter Website Backend built with Fast API and MongoDB

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •  

Languages