5/11/2023 0 Comments Webtorrent upload file![]() routes - components related to different routes of Blaze and router configuration.components - contains all the UI components of Blaze.assets - used to store the static assets such as images.Rest of the routes are pre-rendered during build time. Sass is used for CSS pre-processing and maintaing consistent themeing across the frontend.Preact is being used on the frontend(previously used Svelte).Once the frontend is built for production, all the built files are stored in build directory which can be deployed as a static app. The dependencies of the frontend has been kept to a minimum to keep bundle sizes low. The frontend source code is in the client directory. ![]() Thin wrappers have been created for easier interfacing with sockets. It is built on Node.js with express for HTTP server and ws library for WebSockets. BackendĪll the backend(or server) related source code resides under the server directory. The project is structured into following directories - backend, frontend, common and nginx. Read more on Deploying on your own server Table of Contents Read more about how Blaze works at a basic level in this Medium article.
0 Comments
Leave a Reply. |