Skip to content
 
 

Repository files navigation

React-shop-cloudfront

This is frontend starter project for nodejs-aws mentoring program. It uses the following technologies:

Available Scripts

start

Starts the project in dev mode with mocked API on local environment.

build

Builds the project for production in dist folder.

preview

Starts the project in production mode on local environment.

test, test:ui, test:coverage

Runs tests in console, in browser or with coverage.

lint, prettier

Runs linting and formatting for all files in src folder.

API Testing Guide

Unit Tests

Prerequisites

  • Node.js (v18 or later)
  • npm or yarn package manager

Test handlers

  1. Install dependencies:
npm install
  1. Cd in cdk and run tests:
cd cdk-product-service/
npm run test

Run swagger

  1. Cd in cdk and run documentation:
cd cdk-product-service/
npm run swagger

Add items to DynamoDb Tables

cd cdk-product-service/
npm run build
npm run seed

About

React Frontend for NodeJS in AWS course

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages