Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates in readme documentation #744

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 26 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,25 @@
# Vachan-api
<h1 align="center">
<br>
<a href="http://www.amitmerchant.com/electron-markdownify"><img src="https://api.vachanengine.org/static/images/Logo.svg" alt="vachanapi" width="200"></a>
<br>
Vachan API
<br>
</h1>

The server application that provides REST APIs to interact with the underlying Databases (SQL and Graph) and modules in Vachan-Engine.

Currently serving 3 client applications, VachanOnline website, the Vachan Mobile App and AutographaMT Bible translation tool.

Joel-Joseph-George marked this conversation as resolved.
Show resolved Hide resolved

### Unified API for [Vachan-Engine applications](https://api.vachanengine.org/)

[Implementation Details](#implementation-details) • [Start App](#start-app-with-docker) • [Setup](#set-up-locally-for-development-and-testingwithout-docker) • [License](#license)


![screenshot](https://github.com/shimilgithub/vachan-api/blob/de41c3fcc1149a025adcd93ff108a3d786d78818/app/static/images/api_screenshot.gif)


The Vachan API is a robust server application designed to facilitate seamless interaction with the underlying Database and various modules within the Vachan-Engine ecosystem. This versatile API is essential for a wide array of client applications, including the Vachan Online website, Vachan Admin, Vachan Mobile App, IntelliSign - the Smart Sign Language Translation Platform, and the AutographaMT Bible translation tool.

It achieves this by offering both REST APIs, catering to traditional database interactions, and utilizing Strawberry GraphQL for enhanced flexibility and efficiency.

## Implementation Details

Expand Down Expand Up @@ -89,12 +106,13 @@ Edit the following contents appropriatetly and paste to the `.bashrc` file
export VACHAN_POSTGRES_USER="<db_user>"
export VACHAN_POSTGRES_PASSWORD="<db_password>"
export VACHAN_POSTGRES_DATABASE="<db_name>"
export VACHAN_POSTGRES_DATA_DIR="<data_dirrctory_path>"
export VACHAN_POSTGRES_DATA_DIR="<data_directory_path>"
export VACHAN_LOGGING_LEVEL="WARNING"
export VACHAN_KRATOS_ADMIN_URL="http://127.0.0.1:4434/"
export VACHAN_KRATOS_PUBLIC_URL="http://127.0.0.1:4433/"
export VACHAN_SUPER_USERNAME="<super-admin-emial-id>"
export VACHAN_SUPER_USERNAME="<super-admin-email-id>"
export VACHAN_SUPER_PASSWORD="<a-strong-password>"
export VACHAN_DOMAIN=127.0.0.1:8000
```
After editing .bashrc file they may need to run

Expand Down Expand Up @@ -155,3 +173,6 @@ To run all the testcases, from the folder vachan-api/app run the command
```python -m pytest```

For runing testselectively, refer [pytest docs](https://docs.pytest.org/en/stable/usage.html#specifying-tests-selecting-tests)

## License
Bridge Connectivity Solutions Pvt. Ltd.
Binary file added app/static/images/api_screenshot.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading