A TypeScript Express application scaffolded with express-generator-typescript.
- Language: TypeScript
- Framework: Express.js
- Database: none
- Authentication: disabled
- WebSocket: none
- View Engine: none
bin/ # Startup scripts
controllers/ # Request handlers
models/ # Data models
public/ # Static assets
routes/ # Route definitions
services/ # Business logic
sockets/ # WebSocket handlers
views/ # View templates
utils/ # Utility functions
middleware/ # Express middleware
config/ # Configuration files
- Node.js (v14 or higher)
- npm or yarn
- Clone the repository
git clone --recursive <repository-url>
cd <project-directory>
1.1
If you've already cloned without --recursive:
git submodule update --init --recursive
1.2 Setup speaker embeddings:
mkdir -p FreeVC/speaker_embeddings
# Add instructions for obtaining speaker embeddings
1.3 Download pretrained models:
mkdir -p FreeVC/pretrained_models
# Add download instructions for the pretrained model
- Install dependencies
npm install
- Environment Variables
Create a .env file in the root directory with the following variables:
PORT=3000
NODE_ENV=development
CLIENT_URL=http://localhost:3000
Start the development server:
npm run dev
Build for production:
npm run build
Start the production server:
npm start
The API documentation is available at /api-docs when the server is running.
This project is licensed under the MIT License - see the LICENSE file for details.