No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
.gitignore
.prettierrc.json
Dockerfile
README.md
app.js
claudia.json
db.js
lambda.js
package.json
yarn.lock

README.md

micurl

Building the client

The front-end client is a React app using create-react-app. It resides in the client directory. Before building create the file client/.env and set the variables REACT_APP_NAME and REACT_APP_URL.

Example .env

REACT_APP_NAME=itsy.ml
REACT_APP_URL=https://itsy.ml

To build the client run yarn install followed by yarn build.

Deploying to Lambda

From the root of the project, run the following:

claudia update --set-env APP_URL=https://itsy.ml,DYNAMODB_TABLE_NAME=micurl