Starter kit
This starter kit shows how to fetch data using a direct connection to mongoDB or by using a protected query to GraphQL, both using getStaticProps and getServerSideProps. The page uses an API Gateway endpoint to fetch data from AWS Secrets Manager to handle secret keys etc.