React app with basic protected routes and authentication using AWS Amplify and React Router.
To run this app:
- Clone the repository
git clone https://github.com/dabit3/full-stack-serverless-code.git
- Change into the directory
cd basic-authentication
- Install the dependencies
npm install
# or
yarn
- Deploy the amplify project
amplify init
amplify push
- Start the app
npm start