Appearance
Contributing
We welcome contributions to the Tracktor project! This guide will help you get started with setting up your development environment and understanding our technology stack.
Technology Stack
Tracktor is built with a modern and robust technology stack:
- Frontend:
- SvelteKit: A powerful framework for building fast and resilient web applications.
- Tailwind CSS: A utility-first CSS framework for creating modern and responsive designs.
- Backend:
- Node.js with Express.js: A fast and minimalist web framework for building the API.
- TypeScript: For type safety and improved code quality.
- Database:
- SQLite: A lightweight, serverless SQL database.
- Sequelize: A promise-based Node.js ORM for SQLite.
Development Environment Setup
Prerequisites
- Node.js (v18 or higher)
- npm
Steps
Fork and clone the repository:
bashgit clone https://github.com/your-username/tracktor.git cd tracktor
Install dependencies:
bashnpm install
Start the development servers: This command will start both the frontend and backend development servers concurrently.
bashnpm run dev
Access the application:
- The frontend will be available at
http://localhost:5173
. - The backend API will be available at
http://localhost:3000
.
- The frontend will be available at
Project Structure
The project is organized into two main packages:
app/client
: The SvelteKit frontend application.app/server
: The Express.js backend API.
When making changes, please adhere to the existing code style and conventions. We use Prettier for code formatting, which should be run automatically if you have the appropriate editor extensions installed.
Submitting Changes
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with a clear and descriptive message.
- Push your branch to your fork.
- Open a pull request to the main Tracktor repository.
We appreciate your contributions to making Tracktor a better application!