Awesome
<div align="center"> <a href="https://github.com/grimm-integrations/planters_cycle"> <img src="https://avatars.githubusercontent.com/u/151554346?s=200&v=4" alt="Logo" width="80" height="80"> </a> <h3 align="center">Planters Cycle</h3> <p align="center"> A boilerplate project for rust as backend and nextjs for the frontend. <br/> <br/> <a href="https://github.com/grimm-integrations/planters_cycle/wiki"><strong>Explore the docs »</strong></a> <br/> <br/><a href="https://github.com/grimm-integrations/planters_cycle/issues/new?labels=bug&template=bug_report.md">Report Bug .</a> <a href="https://github.com/grimm-integrations/planters_cycle/issues/new?labels=enhancement&template=feature_request.md&title=feat%3A">Request Feature</a>
</p> </div>About The Project
Of course there are many boilerplate's out there, but none of them covered our expectations. So we decided to start our own.
Here's why:
- We wanted to adapt rust as backend for the lightweight runtime.
- Choosing NextJS for the frontend because of the huge community and the many things you can achieve with it.
- We wanted something fast
Built With
Getting Started
Here are some steps to setup the project for yourself.
A devcontainer template is also provided for a quick start.
Prerequisites
We use some awesome tools to make this project possible.
- node
- bun
curl -fsSL https://bun.sh/install | bash
- rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- docker or psql and redis
Installation
- Clone the repo
git clone https://github.com/grimm-integrations/planters_cycle.git
- Install NPM packages
cd ui && bun install
- Spin up the databases
docker compose up
- Create the database
bash ./scripts/create_database.sh
- Generate prisma clients
cd ui && bunx prisma generate
cd api && cargo prisma generate
- Apply migrations
cd api && cargo prisma migrate deploy
- Run the api
cd api && cargo run
- Run the frontend
cd ui && bun run dev
Roadmap
See the open issues for a full list of proposed features (and known issues).
Contributing
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
License
Distributed under the MIT License. See MIT License for more information.
Contact
Johannes Grimm - @metratrj - grimmjohannes1998@gmail.com
Project Link: https://github.com/grimm-integrations/planters_cycle