An ecommerce web app. Built with typescript, React and node.
- 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
-
Clone the repository:
git clone https://github.com/fac29/gaf-front.git cd gaf-front
-
Install dependencies:
npm install
To start the server, use the following command:
npm run dev
cdk bootstrap cdk bootstrap aws://788798427985/us-west-2 cdk deploy --all
aws cloudformation list-stacks --query "StackSummaries[?StackName=='CDKToolkit']"
cdk synth cdk deploy
rm cdk.context.json
cdk bootstrap --destroy
aws s3 rb s3://cdk-hnb659fds-assets-788798427985-eu-west-2 --force
aws cloudformation delete-stack --stack-name CDKToolkit
chmod 400 keys/gafPair.pem
ssh -i keys/gafPair.pem [email protected] //Substitute for public IP