Skip to content

incridea-nmamit/incridea-server

Repository files navigation

Incridea Server repo

Tech Stack

Backend

Docs

Local setup

  1. Clone the repository
git clone https://github.com/incridea-23/incridea-server.git
  1. Install all dependencies
npm install
  1. Generate Prisma Clinet
npx prisma generate
  1. Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev

to open graphQl playground visit http://localhost:4000/graphql .

Branching and Making PRs

  1. 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>
  1. 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>
  1. 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.