Soverant application
- under construction
- Python 3.8+
- Node.js 12+
git clone git@github.com:soverant/poc.git
cd poc- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
- On Windows:
You can install all dependencies for both the back-end and front-end using the main.py script.
python main.py development --installAlternatively, you can install dependencies manually:
pip install -r backend/requirements.txtcd frontend
npm installYou can run the application in either development or production mode using the main.py script.
python main.py developmentpython main.py production- update backend openapi spec at ./backend/openapi.json
- generate frontend client at ./frontend/src/app/lib/generated-client
python main.py generationproject use .env and environment variable to read config:
OPENAI_TOKEN="YOUR OPENAI TOKEN"
LOG_LEVEL=""
HOST=""
PORT=""
ENVIRONMENT=""
ORM_DB_URL=""
UNMANAGED_DB_URL=""
OPENAI_TOKEN=""
NEXT_PUBLIC_API_BASE_URL="API Server URL"
The application streams logs from both the FastAPI back-end and the Next.js front-end to the console using the Python logging module.
- Fork the repository.
- Create your feature branch (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/AmazingFeature). - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.