Skip to content

webshoten/nextjs_customserver_graphql

Repository files navigation

install

npm ci

environment file

postgresql(neon)

.env

DATABASE_URL=postgresql://*****/:*****@********.ap-southeast-1.aws.neon.tech/******?sslmode=require

start up(dev)

npm run dev

start up(production)

npm run build
npm run start

docker start up

# start up
docker build ./ -t nextjs
docker run -e DATABASE_URL=postgresql://*****/:*****@********.ap-southeast-1.aws.neon.tech/******?sslmode=require -p 8080:8080 nextjs
# shout down
docker container stop {container}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published