https://github.com/hakimamarullah/medisearch-api
Backend used by medisearch.site
https://github.com/hakimamarullah/medisearch-api
fastapi information-retrieval lgbmranker
Last synced: 11 months ago
JSON representation
Backend used by medisearch.site
- Host: GitHub
- URL: https://github.com/hakimamarullah/medisearch-api
- Owner: hakimamarullah
- License: apache-2.0
- Created: 2022-11-25T07:16:58.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T23:16:38.000Z (over 3 years ago)
- Last Synced: 2025-04-02T09:15:54.174Z (about 1 year ago)
- Topics: fastapi, information-retrieval, lgbmranker
- Language: Python
- Homepage: https://medisearch.site
- Size: 191 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Medisearch-api
# Getting Started with this project
## How to start
In the project directory, you can run:
### `pip install -r requirements.txt`
Runs the app.
### `uvicorn "app.main:app --reload"`
Open [http://localhost:8000](http://localhost:8000) to view it in your browser.
The page will reload when you make changes.
## How to create image using Dockerfile
Build the image locally.\
`docker build -t "medisearch:latest" .`
or you can pull the image from docker registry using this command:\
`docker pull hakimamarullah/medisearch:latest`
### How to run using docker container in detached mode:
`docker run --name $container_name -p $port:80 --restart $restart-policy -d hakimamarullah/medisearch:latest`