Skip to content

atlasmaxima/news_gallary

Repository files navigation

Background

An example application uses Nextjs, a server-side rendering front-end framework which reads from news.json and images under images storing it to a relational database.

Setup

Create a postgres_user.txt, postgres_password.txt, postgres_url.txt for docker secrets.

Run with Docker

docker compose up
npx prisma migrate dev
npx prisma db seed

Run prisma database studio

npx prisma studio

Access docker containers

docker ps
docker exec -it {test-postgres}
psql -U postgres

Tech Stack

Next.js
TypeScript Prisma.io
PostgreSQL
TailwindCSS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published