<<<<<<< HEAD
A professional REST API for job application management built with FastAPI, PostgreSQL, and modern deployment practices.
- API Documentation: https://your-api.onrender.com/docs
- Health Check: https://your-api.onrender.com/health
- Complete CRUD Operations for job applications
- User Authentication with secure JWT tokens
- PostgreSQL Integration with SQLAlchemy ORM
- Automatic API Documentation with OpenAPI/Swagger
- Input Validation with Pydantic models
- Error Handling with detailed responses
- Health Check Endpoints for monitoring
- CORS Configuration for frontend integration
- Database Connection Pooling for performance
- Environment-based Configuration for deployment
- Render.com Deployment ready with auto-scaling
- Framework: FastAPI 0.104.1
- Database: PostgreSQL with SQLAlchemy ORM
- Authentication: JWT with bcrypt password hashing
- Deployment: Render.com with automatic CI/CD
- Documentation: OpenAPI/Swagger with interactive testing
# Install dependencies
pip install -r requirements.txt
# Set environment variables
cp .env.example .env
# Run development server
uvicorn main:app --reload
# Access API docs: http://localhost:8000/docs- Push to GitHub (this repository)
- Create Render Web Service
- Add PostgreSQL Database
- Deploy - Automatic deployment on git push
GET /api/jobs/- List all applicationsPOST /api/jobs/- Create new applicationGET /api/jobs/{id}- Get specific applicationPUT /api/jobs/{id}- Update applicationDELETE /api/jobs/{id}- Delete application
POST /api/auth/register- User registrationPOST /api/auth/login- User loginGET /api/auth/profile- Get user profile
GET /health- Health checkGET /docs- Interactive documentation
# Test health endpoint
curl -X GET "http://localhost:8000/health"
# Create job application
curl -X POST "http://localhost:8000/api/jobs/" \
-H "Content-Type: application/json" \
-d '{"company_name": "Tech Corp", "job_title": "Python Developer"}'DATABASE_URL=postgresql://user:pass@localhost/dbname
SECRET_KEY=your-secret-key-here
ENVIRONMENT=productionBuilt by Aniket - Professional Python Developer
21dc6dde2b4d9210a0ec9df1a7eab9007e19a7fe