This is a web application built with Next.js that allows users to create, store, manage and share shops for Dungeons & Dragons campaigns. The app supports user authentication, dynamic shop pages, and item management within shops.
- User Authentication: Implemented using NextAuth with custom credential provider.
- Shop Management: Create, view, and delete shops and their associated items.
- Copy Shop URL: Quickly copy the URL of a shop for sharing.
- API Integration: Fetches data from a backend API to populate shop and item details.
Make sure you have the following installed:
- Node.js
- npm
- Clone the repository
- npm install
The following environment variables need to be configured:
- NEXT_PUBLIC_environmentName= # Name of the environment (e.g., development, production)
- NEXT_PUBLIC_BACKEND_URL= # URL of the backend API
- NEXTAUTH_SECRET= # Secret for NextAuth session management
Create a .env.local
file in the root of the project and populate it with these variables.
To start the development server:
- npm run dev For production build:
- npm run build
- npm start
This project is licensed under the MIT License.