A lightweight Student Management REST API built with FastAPI, PostgreSQL, SQLAlchemy, and Pydantic.
143
š Live API: https://campuscore-api.onrender.comā
š API Documentation: https://campuscore-api.onrender.com/docsā
š ReDoc Documentation: https://campuscore-api.onrender.com/redocā
š³ Docker Hub: https://hub.docker.com/r/omikalix/campuscore-apiā
š» GitHub Repository: https://github.com/OMI-KALIX/campuscore-apiā
/seed endpoint to populate sample data.The backend is hosted on Render and may enter a sleep state after periods of inactivity.
The first request may take a little longer while the server wakes up. Once initialized, the application should respond normally.
A containerized Student Management REST API built with FastAPI, PostgreSQL, SQLAlchemy, and Pydantic.
This project demonstrates CRUD operations, database integration, API development, Docker containerization, and cloud deployment using modern backend technologies.
This Docker image contains the complete FastAPI application and is configured to work with any PostgreSQL-compatible database through environment variables.
docker run -p 8000:8000 -e DATABASE_URL="postgresql://username:[email protected]:5432/students1" omikalix/campuscore-api
docker run -p 8000:8000 -e DATABASE_URL="<your_render_postgresql_connection_string>" omikalix/campuscore-api
http://127.0.0.1:8000
http://127.0.0.1:8000/docs
http://127.0.0.1:8000/redoc
The application listens on:
0.0.0.0:8000
inside the container to allow external access.
Access the application from the host machine using:
http://localhost:8000
or
http://127.0.0.1:8000
The application reads the database connection dynamically from:
DATABASE_URL
This allows the same Docker image to work with:
without rebuilding the image.
OMI-KALIX
Content type
Image
Digest
sha256:2bc0f769fā¦
Size
60.4 MB
Last updated
4 months ago
docker pull omikalix/campuscore-api