Install the dependencies
yarn install
Run the script file
docker-compose up db
./src/db/init_database.sh
Copy the env.example file to create .env file with appropriate settings
Run the local dynamo DB in local and run the app using yarn
docker-compose up db
yarn run start:dev
Or launch the dev server in Docker:
docker-compose up db app
Launches the lambda server using serverless offline
# Start the dynamoDB in local
docker-compose up db
# Start the serverless offline
yarn sls offline start
export AWS_PROFILE=<YOUR_PROFILE>
serverless deploy