1. Create AWS access keys by following the instructions here.
You can keep your AWS credentials in a file. The credentials are found at:
~/.aws/credentials
on Linux, Unix, and macOS;C:\Users\USER_NAME\.aws\credentials
on Windows
If the credentials file does not exist on your machine, create it. The file should have the following format:
[default]
aws_access_key_id = <YOUR_ACCESS_KEY_ID>
aws_secret_access_key = <YOUR_SECRET_ACCESS_KEY>
SST automatically detects AWS credentials in your environment and uses them for making requests to AWS. The environment variables that you need to set are:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
curl -fsSL https://ion.sst.dev/install | bash
Make sure to source your shell profile or restart you shell after running the command above.
$ bun install
$ npm install
$ npm run setup
$ sst secret set APIToken <YOUR_API_TOKEN>
$ sst secret set JWTSecret <YOUR_JWT_SECRET>
$ npm run dev
Navigate to http://localhost:3000/signUp
and create a new user. Use the API_TOKEN
from
the setup script for the Access key
field. You can also find this value in your .env
file.