A personal project created to learn software engineering with python
PostIn is a RESTful API service developed using FastAPI. It provides endpoints for user and post management. The service is designed to be efficient, easy to use, and scalable.
- User Management
- Post Management
- Authentication and authorization
- Detailed API documentation with OpenAPI
-
Clone the repository:
git clone https://github.com/mwangi-george/PostIn.git cd PostIn
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
-
Make database migrations:
alembic upgrade head
To start the FastAPI server, run the following command:
uvicorn app.main:app --reload
Live api service and documentation available at the following endpoints: