Welcome to Colabs, an open-source project built with Vite, TypeScript, and Tailwind CSS. Colabs is a platform for developers to collaborate on open-source projects across different tech stacks.
This README serves as a guide for developers looking to contribute to the Colabs-Frontend project, from prerequisites and setup to creating pull requests (PRs).
- Project Overview
- Figma Design
- Prerequisites
- Getting Started
- Running the Project
- Contributing
- License
Colabs is a collaborative platform for developers to build, share, and contribute to open-source projects. The front end is powered by:
- Vite for fast build times,
- TypeScript for static typing,
- Tailwind CSS for rapid UI development,
- Vitest for unit testing,
- End-to-end (E2E) testing for integration tests.
You can find the project design on Figma here.
Before you start contributing, ensure you have the following tools installed:
- Git - Download Git
- Version Control System to clone and manage branches.
- Node.js & npm/pnpm - Download Node.js
- Node.js runtime (LTS version recommended).
- npm is included with Node.js, or you can install pnpm for faster package management.
- Run this command to install pnpm globally:
npm install -g pnpm
- Visual Studio Code (VS Code) - Download VS Code
- Recommended code editor for this project.
- Install the ESLint and Prettier extensions for code quality and formatting.
- Vite (installed during setup) - Learn more about Vite
- Lightning-fast front-end tool to scaffold the project.
To start contributing, first, clone the repository from GitHub:
git clone https://github.com/SpaceyaTech/CoLabs-Frontend.git
The project uses pnpm
for package management. Run the following command to install all required dependencies:
pnpm install
If you're using npm
, you can run npm install
instead.
To start the development server, run:
pnpm dev
This will launch the project locally. Open your browser and navigate to http://localhost:5173 to view the app (or another port if 5173 is already in use)
We welcome contributions from the community! Follow the steps below to contribute to Colabs. Pull the latest changes from the main branch:
git checkout main
git pull origin main
To create a new feature branch, run:
git checkout -b feature/your-feature-name
Please follow the Conventional Commits specification when committing changes:
git commit -m "feat: add new feature"
Push your branch to the remote repository:
git push origin feature/your-feature-name
Create a pull request on GitHub:
- Go to the repository on GitHub.
- Click on "Pull Requests" and select "New Pull Request".
- Ensure your PR has a clear title and description.
- Link any related issues in the PR description (if applicable). Your PR will be reviewed by maintainers before it can be merged.