This is a Next.js project bootstrapped with create-next-app
.
cp .env.sample .env
# Populate values
source .env
You can install the dependencies with one of the following options:
npm install
You can run the development server manually with Makefile commands:
make run-dev
: Runs the development environment using npm.make run-prod
: Builds the project and starts the production server using npm.docker-build-dev
: Builds the development environment Docker image with specified configurations.make docker-run-dev
: Runs the development environment using Docker, mapping the container port to 3000 and mounting necessary volumes.make docker-build-prod
: Builds the production environment Docker image with specified build arguments.make docker-run-prod
: Runs the production environment Docker container with specified configurations.make docker-run-beta
: Runs the beta environment Docker container with specified configurations.
Open http://localhost:3000 with your browser to see the result.
When creating a new branch, we must use the following convention:
feat/<<semantic description>>
: For new featuresfix/<<semantic description>>
: For bux fixesrefact/<<semantic description>>
: For code refactoringtest/<<semantic description>>
: For new tests implementationsdocs/<<semantic description>>
: For new documentation
When adding a new commit to our branch, we must use the following convention (similar to branch creation):
feat: implementing new feature for ...
orfeat(<<context>>): implementing new feature for ...
fix: fixing bug on ...
orfix(<<context>>): fixing bug on ...
refact: refactoring ... logic
orrefactor(<<context>>): refactoring ... logic
test: implementing new tests for ...
docs: "new method or new function" documentation
Credit Card IIN Ranges & Spacing Patterns information from: https://baymard.com/checkout-usability/credit-card-patterns
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.