Table of Contents
Tinkerhub Platform is a community built platform for Tinkers to conduct there activities.
You need to install
-
Clone the repo
git clone https://github.com/tinkerhub/platform.git
-
Install all the NPM packages all the applications.
We are using PNPM workspace and turborepo to manage the applications in monorepo.
pnpm install
-
Copy the
.env.example
for each applications to.env
in the same directory and fill the values required -
Start the api dev server and open
http://localhost:8000
pnpm --filter api dev
-
Start the web application dev server and open
http://localhost:3000
pnpm --filter web dev
| Not ready yet. Coming soon
- You need to install
- Run
docker-compose up
All the commands for applications can be executed from the root directory using PNPM Workspace and Turborepo.
-
Web application PNPM commands
pnpm --filter web <pnpm options>
-
API Server PNPM commands
pnpm --filter api <pnpm options>
-
Turbo Pipeline Commands
pnpm turbo run <pipeline_action_1> <pipeline_action_2>
-
Package installation command
pnpm add "package-name" --filter "workspace-name"
-
Run lint
pnpm lint
-
Run lint with autofixable fixes
pnpm lint-fix
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request