Skip to content

daphnecarvalho/ignite-reactjs-deploy-ignews

Repository files navigation

ig.news - Challenge: Ignews Deployment

Instruction: Deploy do Ignews.

Base URL

Production: https://ignite-reactjs-deploy-ignews.vercel.app/

Local: http://localhost:3000/

Project commands

Prepare project

  # Install dependencies
  yarn install

  # Login to stripe
  stripe login

Run project

  # Run project
  yarn dev

  # Listen to stripe
  stripe listen --forward-to localhost:3000/api/webhooks

Run tests

  # Run test
  yarn test

  # Run test with coverage results
  yarn coverage

Run as production

  # Run build for production
  yarn build

  # Run as production
  yarn start