This project is a Next.js application designed for Fundy Tickets. It utilizes Firebase Firestore for data storage and management.
Before proceeding, ensure you have Node.js and npm installed on your machine.
And don't forget to install dependencies:
npm install
We are using firebase. So you need to add these variables into your .env.local
NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
Note: The Main branch is portected and code cannot be directly pushed.
To maintain code consistency and manage changes effectively, follow these guidelines:
Issue Tracking: Before making any changes, create or assign yourself to an issue in the project's issue tracker.
Branching Strategy: Create a new branch for each feature or bug fix. Name your branch descriptively based on the feature or issue it addresses.
git checkout -b feature/new-feature develop
Code Changes: Implement your changes in the new branch, following the project's coding standards and guidelines.
Pull Requests: Once your changes are ready for review, open a pull request against the develop branch. Provide a clear description of the changes made and reference any related issues. Make sure to follow the pull request checklist.
Code Review: Wait for code review feedback from Arafat. Address any comments or suggestions raised during the review process. After approval, merge your pull request into the develop branch.
In the project directory, you can run the following npm scripts:
Runs the Next.js development server.
npm run dev
Builds the Next.js application for production.
npm run build
Starts the Next.js production server.
npm start
Lints the project files using ESLint.
npm run lint
Checks the formatting of project files using Prettier.
npm run format:check
Formats the project files using Prettier.
npm run format
If you are using vscode then there is automatic formatting too.