- Environment:
Node.js v20.17.0
- You can download it from here.
- Package manager:
pnpm
- To install it, run
npm i -g pnpm
after installing Node.js.
- To install it, run
- Code editor:
Visual Studio Code
- You can download it from here.
Format: <type>: <subject>
Conventions:
add
: Add a new code what does not exist.update
: Update an existing code.fix
: Fix a bug, issue, or error, tool scan warning.docs
: Update or add documentation.feat
: Add a new feature. (Usually used in the PR title)refactor
: Refactor an existing code.delete
: Delete an existing code.
Examples:
add: add a new feature
update: update a function
fix: fix a bug
docs: update contributing guidelines
feat: add a new feature
refactor: refactor a function
delete: delete a function
Note: Please follow the conventions to keep the commit history clean and easy to read.
Create a .env file there and add the following environment variables:
# | Name | Description | Example |
---|---|---|---|
1 | ENV | Environment | development or production |
-
Step 1: Clone the repository.
git clone https://github.com/lzaycoe/brainbox-backend.git
-
Step 2: Install dependencies
cd brainbox-backend pnpm install
-
Step 3: Create
.env
file and add the environment variables mentioned above. -
Step 4: Run the development server.
pnpm run start:dev