A lightweight and scalable boilerplate for building modern web applications using Node.js and Svelte. This setup provides a seamless integration between the frontend and backend and deployment using Docker.
make lint-backend
Lint and Format the Backend Code. Fixes ESLint errors in the backend code (backend/**/*.js). Formats code using Prettier for consistent styling.
make start-backend
Starts the Backend. Navigates to the backend directory and starts the Node.js Express server. Runs on port 7004 by default.
make start-web
Start the Frontend. Navigates to the web directory and starts the SvelteKit frontend. Runs the frontend on port 5173 by default.
make service
Start the Full Application with Docker. Runs the entire application using Docker Compose.
make service-build
Builds all Docker containers without starting them. Useful if you want to prepare images before deployment.
make service-stop
Stops all running Docker containers gracefully.
make test
Start running the backed test cases.