Skip to content

fac29/gaf-front

Repository files navigation

GAF Frontend

TypeScript Node.js License

An ecommerce web app. Built with typescript, React and node.

Table of Contents

Functionality

  • See all products
  • Search for an individual product
  • Add a product to the cart
  • remove a product from the cart
  • Log into your user account
  • register a new user account

Installation

  1. Clone the repository:

    git clone https://github.com/fac29/gaf-front.git
    cd gaf-front
  2. Install dependencies:

    npm install

Usage

Running the Server

To start the server, use the following command:

npm run dev

Useful CDK commands:

Deploy

cdk bootstrap cdk bootstrap aws://788798427985/us-west-2 cdk deploy --all

List stacks

aws cloudformation list-stacks --query "StackSummaries[?StackName=='CDKToolkit']"

Update stack

cdk synth cdk deploy

Delete the CDK context file

rm cdk.context.json

Delete the bootstrap bucket

cdk bootstrap --destroy

aws s3 rb s3://cdk-hnb659fds-assets-788798427985-eu-west-2 --force

Delete stack

aws cloudformation delete-stack --stack-name CDKToolkit

Set read only permissions to the key

chmod 400 keys/gafPair.pem

SSH to the EC2 instance

ssh -i keys/gafPair.pem [email protected] //Substitute for public IP

About

Fronetend of FAC Project 2 (Weeks 4-6)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •