Frontend & Backend Monorepo built using Bun, Turborepo, Next.js and Nest.js
Prerequisites Installation Repository Structure Testing & Deployment Contributing License
Before you start to use the repo, you need to download dependencies. You can do that by running command below.
💡 Tip: You can also run this command if you're missing dependencies and have already used the repo.
bun install
If you need to update dependencies, you can use command below
bun updateBefore starting to work in the repository, it's essential to understand it's structure to keep things clean and simple.
/apps
├─── frontend # Next.js Application
└─── backend # Nest.js Application
Deploying locally is generally used for testing purposes and is not intended to be used in production in any way.
We have already setupped areas where are services deployed. currently you can change frontend's in the command script and backend's in src/main.ts file by changing the const value.
- Frontend is deployed on port 3000 (increments automatically if port is used)
- Backend is deployed on port 4000
💡 Tip: This command is alias of
turbo dev.
bun dev
Deploying into production is automatic and shouldn't really be required for doing anything beside that. Both repos have individual ways of deploying into production.
bun --filter 'frontend' buildbun --filter 'backend' start:prodWe're open to any contributions. Please open an issue if you'd like to suggest a change or report a bug. If you have any suggested changes, please open a pull request. There are few rules to the contributing though.
- Be respectful to others (especially contributors, as they do it in their free time)
- Try to be specific
- In case of any PR's, you need to follow Conventional Commits Stylesheet
- Respect project's license, you can see more about license below
- Maintainer is anyone who is in the Core Team
This repository is licensed under the AGPL-3.0 license - see LICENSE file for details.
Thanks to all our amazing contributors!