First off, thank you for taking the time to contribute to NextPress! We value your input and are excited to work together to make this project a powerful, modern CMS framework.
If you find a bug or have an idea for a new feature, please open an issue on GitHub. Be as detailed as possible to help us understand the problem or feature request.
If you'd like to work on a new feature or bug fix:
- Fork the repository to your GitHub account.
- Clone the forked repository:
git clone https://github.com/michaelvacirca/nextpress.git cd nextpress
- Make sure you have Node.js (v14 or higher) installed.
- Install dependencies for both backend (Strapi) and frontend (Next.js):
# Backend setup cd backend npm install # Frontend setup cd ../frontend npm install
- You can now run both backend and frontend in development mode:
# Run backend cd backend npm run develop # Run frontend cd ../frontend npm run dev
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature-name
- Follow the project's code style and conventions.
- Keep your changes focused and relevant to the specific issue you are solving.
- Write clear commit messages explaining the purpose of your changes.
- Make sure your changes don’t break existing features.
- Add new tests if your changes introduce new functionality.
- Stage your changes:
git add .
- Commit with a meaningful message:
git commit -m "Add feature: description of the feature"
- Push to your branch:
git push origin feature/your-feature-name
- Navigate to the original repository on GitHub.
- Click the New Pull Request button.
- Make sure your branch passes all CI tests.
- Provide a detailed description of your changes, including the problem it solves.
- Your pull request will be reviewed by the project maintainers.
- We might ask for some changes; please be receptive to feedback.
- Follow the JavaScript ES6 conventions.
- Use Prettier for code formatting and ESLint for linting.
- Use descriptive commit messages.
- Examples:
Fix: Correct typo in README
Feat: Add user authentication to backend
- Reference the issue your pull request is solving.
- Keep the pull request focused; avoid mixing unrelated changes.
- Ensure your pull request description provides context about what you changed and why.
- Join our GitHub Discussions to share ideas, ask questions, or get help.
- Be respectful and inclusive to others—everyone’s contribution matters!
We look forward to seeing your contributions and working together to improve NextPress! 🚀