This is a Next.js project bootstrapped with create-next-app
.
# Install deps
npm install
# Run the development server
npm run dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx/jsx
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts/js
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
This project uses GitHub Actions, a CICD platform that will run our workflows based on certain triggers that are defined in the workflows.
npm run bootstrap
This project is deployed to AWS.
We use aws-cdk-lib (Cloud Development Kit) to deploy the infrastructure and application code. Checkout the entrypoint, cdk/bin.ts to see what is happening.
The main way that this application is deployed is thanks to @sls-next/cdk-construct as it really simplifies things.
Keep things fresh with this command,
rm -rf node_modules/ package-lock.json
npx npm-check-updates -u
npm i