Check if any TV Show is a miniseries.
A miniseries is a television show that tells a story in a predetermined, limited number of episodes.
Create an .env
file to the /server
directory with the following entry:
TMDB_API_KEY=<your-api-key>
Replace <your-api-key>
with your actual TMDB API key and ensure you save the file.
Bun will take care of sourcing and loading the environment variables.
This app uses Bun to manage dependencies for both the back end (/server
) and front end (/client
). From the root directory, install dependencies with:
# Install dependencies for the back end
cd server
bun install
# Install dependencies for the front end
cd client
bun install
Run the following to add, remove, or upgrade packages:
bun add package-name
bun remove package-name
bun upgrade
Bun automatically generates a bun.lock
file for deterministic installs. Ensure this file is committed to version control for consistensy across different environments.
Start the back end and front end development servers using:
/server
)cd server
bun .
/client
)cd client
bun run dev --open
Ensure both servers are running for full functionality.
To run unit tests using Bun, use the following command from any directory within the project:
bun test
To update the server docs with tsoa & Redocly, refer to the following commands:
# Generate updated OpenAPI spec
npx tsoa spec
# Preview API docs (optional)
npx redocly preview-docs build/swagger.json
# Build updated HTML docs
npx redocly build-docs build/swagger.json --output ../docs/api-docs.html
Note: Run
npm i
first if setting up for the first time.
To track the development progress of this project and upcoming feature,s check out this project's board on GitHub.
Data provided by The Movie Database (TMDB).
This project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE. Refer to the LICENSE file for details.