Skip to content

TobiasBinnewies/hannover96-virtuelles-museum-prototyp

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Requirements / Useful Tools

  • VSCode
  • Plugins: Code Coverage, DotENV, Jest, Prettier
  • Yarn

Getting Started

# Install Dependencies
yarn add
# Setup envs
cp .env.example .env.local # --> Fill .env.local
# Generate Prisma Client
yarn prisma-generate
# Sync Prisma Client to Database
yarn prisma-sync
# Push init.sql
psql <URL> -f ./db/init.sql
# Run Development Server
yarn dev

Visit http://localhost:3000 in your browser to see the result.

Testing

Tests can be added to './test'. Frontend tests can be added to './test/pages'.

yarn test

Docker

  • Docker and Docker-Compose have to be installed
  • .env.local has to be filled correctly
  • Run:
docker-compose up --build

Visit http://localhost:80 in your browser to see the result.

Sources

Sources are located at ./src. Pages are located at ./scr/app. APIs are located at ./src/app/api.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

By pushing to main branch a deployment on 'https://hannover96-virtuelles-museum-prototyp.vercel.app/' is triggered

About

Virtuelles Museum für Hannover 96 - Prototyp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •