Skip to content

jerryjayce/eccomerce-service-payment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ecommerce-service-payment

This is the payment service for the ecommerce application.

Getting Started

To get started, clone the repository and install the dependencies:

git clone https://github.com/jerryjayce/ecommerce-service-payment.git
cd ecommerce-service-payment
npm install

To start the application in development mode, run:

npm run start:dev

To build the application, run:

npm run build

To start the application in production mode, run:

npm start

Available Scripts

  • seed: Run the seed script.
  • start:dev: Start the application in development mode.
  • start: Start the application in production mode.
  • build: Build the application.
  • postbuild: Copy files after build.
  • test: Run tests.
  • lint: Lint the code.
  • lint:fix: Lint and fix the code.
  • knex: Run knex commands.
  • db:migrate:make: Create a new migration.
  • db:migrate: Run migrations.
  • db:migrate:rollback: Rollback migrations.
  • db:seed: Run seeds.

Available Endpoints

  • GET /:id: Get a payment by ID.
  • POST /: Initiate a new payment.

Seed the database

To seed the database, run:

npm run seed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors