This is a Next.js project bootstrapped with create-next-app
.
You need a PosgreSQL database to fill the information of the environments starting with PG.
PGPASSWORD=
PGDATABASE=
PGHOST=
PGPORT=
PGUSER=
PORT=
JWT_SECRET=
STAGE= #dev || #prod
A PostgreSQL database can be created with docker with the docker-compose file provided in this repo
docker-compose up -d
npm run start:dev
# or
yarn start:dev
First, you need an API key from TMDB and back-end deployment to create a .env that look like this:
NEXT_PUBLIC_TMDB=
NEXT_PUBLIC_BACKEND=
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.