Skip to content

den-bechka/lead-forecaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeadForecaster

Description

A brief description of your project and its functionality.

Technology Stack

  • FastAPI
  • PostgreSQL
  • Jax (for machine learning)
  • Docker

Project Structure

.
├── app                  # Main directory for source code
│   ├── models           # The directory for machine learning models
│   │   ├── model.py     # Model code file
│   │   └── pretrained   # Directory for storing pre-trained models
│   ├── api              # Directory for API endpoints
│   │   └── routes.py    # File with API routes
│   ├── db               # The directory for working with the database
│   │   └── database.py  # File with code for working with database
│   └── main.py          # The main application file where FastAPI is initialized, etc. 
├── tests                # Test directory
│   ├── test_model.py    # Tests for models
│   └── test_api.py      # Tests for APIs
├── docker               # Optional directory where Docker-specific files are stored, if they are needed
├── Dockerfile           # File for creating a Docker image
├── docker-compose.yml   # File to manage the Docker multi-container application
├── requirements.txt     # A file with project dependencies
├── .gitignore           # File for specifying Git ignored files and directories
└── README.md            # File with project description and instructions

How to get started

Install Docker

Make sure you have Docker and Docker Compose installed. Download link: Docker

Cloning the repository

git clone <URL of your repository>
cd <your project name>

Building and running containers

docker-compose up --build

The application will be available at: http://localhost:8000

Development

Working with the database

The database connection configuration is in the docker-compose.yml file.

Adding dependencies

Add the required dependencies in the requirements.txt file and rebuild the Docker container.

Stopping and deleting containers

docker-compose down

Documentation

Documentation for your API can be found at: http://localhost:8000/docs

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors