SPAR Mapper API
This page provides comprehensive documentation for the installation of spar-mapper-api, a FastAPI-based service designed for data mapping within the Social Payments Account and Registry (SPAR) system.
Installation
Prerequisites
Any machine running Linux (e.g., Ubuntu), macOS, or Windows
Python3.10 or later
Git
PostgreSQL
virtualenv
Python Dependencies
The following dependencies are managed in the installation steps below.
Steps to install
Install dependencies
Clone the repository
Navigate to the project root and switch to branch 1.0.0
Create a virtual environment with Python 3
Activate the virtual environment
Install the necessary dependencies
Create a '.env' file and configure database
Set the following environment variables to configure the `spar-mapper-api`:
Database setup
Run migrations to set up the database:
Quick start
Start the development server
Access Swagger API Documentation
Testing
To run unit tests with pytest
:
Contributing
Contribution guidelines are available here.
Last updated