Skip to content

rishikesh-6path/AMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Athlete Management System (AMS)

A full-stack web application for managing athletes, tracking injuries, health data, and training schedules.

Tech Stack

Backend

  • FastAPI (Python)
  • SQLAlchemy ORM
  • SQLite Database

Frontend

  • React.js
  • Tailwind CSS
  • Axios for API calls
  • React Router for navigation

Local Development

Backend Setup

cd backend
python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn main:app --reload

Backend will run on http://localhost:8000

Frontend Setup

cd cms
npm install
npm start

Frontend will run on http://localhost:3000

Deployment

Free Deployment Options

Option 1: Render.com (Recommended)

  1. Push code to GitHub
  2. Sign up at render.com
  3. Create Web Service for backend (Python)
  4. Create Static Site for frontend
  5. Set environment variables

Option 2: Railway.app

  1. Push code to GitHub
  2. Sign up at railway.app
  3. Deploy both services
  4. Configure environment variables

Option 3: Vercel (Frontend) + Render (Backend)

  • Deploy frontend to Vercel
  • Deploy backend to Render
  • Free tiers available for both

Environment Variables

Backend (.env)

CORS_ORIGINS=https://your-frontend-url.com

Frontend (.env)

REACT_APP_API_URL=https://your-backend-url.com

Features

  • Player management (CRUD operations)
  • Injury tracking and history
  • Health monitoring
  • Training calendar
  • Role-based dashboards (Admin/Coach)
  • Medical reports and screening

Default Login

  • Username: Any username in database
  • Password: (configured in seed_users.py)

License

MIT

About

Full-stack athlete management application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors