Skip to content

vt-digital-libraries-platform/dlp-access-next-claude-padma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next.js on Elastic Beanstalk

This is a minimal Next.js app prepared for deployment on AWS Elastic Beanstalk (EB) using the Node.js platform.

What’s included

  • Pages Router (pages/)
  • MUI baseline in _app.js
  • SSR test on / via getServerSideProps
  • Procfile to bind EB-provided $PORT
  • postinstall builds on EB
  • .ebignore to reduce bundle size

Run locally

npm install
npm run dev
# visit http://localhost:3000

Production-mode sanity check:

npm run build
PORT=3000 npm run start

Deploy to Elastic Beanstalk

pip install --user awsebcli
# ensure ~/.local/bin is on PATH

# from next-app directory
eb init
# select region and Node.js 20 (or 18) on Amazon Linux 2023

eb create my-next-env --single
# wait for green status

eb deploy

Environment variables

  • Client-visible vars must be prefixed with NEXT_PUBLIC_.
  • Server-only secrets should NOT be prefixed.
  • Set vars in EB using eb setenv NAME=value.

Notes

  • Health check path / returns 200 by default.
  • If you later add Amplify/Auth, add your EB URL to Cognito callback URLs.

About

AI-assisted migration of the Virginia Tech Digital Libraries Access application to Next.js 16 using Claude Sonnet 4.5. Experimental repo with Next.js SSR and AWS Elastic Beanstalk deployment. Not the main production line—intended as a reference for future AI-assisted migrations and improvements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors