- Clone the repository
git clone https://github.com/incridea-23/incridea-server.git
- Install all dependencies
npm install
- Generate Prisma Clinet
npx prisma generate
- Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
to open graphQl playground visit http://localhost:4000/graphql .
- After cloning and setting up the environment, checkout to a new branch (name is related to your task, for eg: feat/get-events, fix/email-verification)
git checkout -b <branch_name>
- Make the required changes according to your task.
//Staging changes
git add .
//Commiting changes
git commit -m <short message about task>
//Pushing changes
git push origin <branch_name>
- Make a Pull request to main branch, and wait for it to get reviewed by someone in the team. If there are review comments, make a new commit making those changes to the same branch to address those comments.
Note Use semantic commit messages to keep the commit history clean.