-
Rename
.env.example
to.env
-
Fill in your AWS credentials in
.env
-
npm start
-
Update the
apiUrl
infrontend
to point to the server.
Deploy this with now.sh:
- Add your AWS credentials to now
now secret add aws-access-key-id your-access-key-id-here
now secret add aws-secret-access-key your-secret-access-key
now secret add aws-bucket your-bucket-name-here
- Deploy
now . \
-e AWS_ACCESS_KEY_ID=@aws-access-key-id \
-e AWS_SECRET_ACCESS_KEY=@aws-secret-access-key \
-e AWS_BUCKET=@aws-bucket \
-e NODE_ENV=production
- Update the
apiUrl
infrontend
to point to your deploy.