Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rotaractgalgotias/admin-dashboard
A web-based admin dashboard for Rotaract Galgotias, built with Next.js and PostgreSQL. This application provides tools for managing events, members, and activities within the Rotaract community. Easily deployable using Docker with hot reloading support for development.
https://github.com/rotaractgalgotias/admin-dashboard
nextjs postgres prisma server-action shadcn-ui tailwindcss
Last synced: 11 days ago
JSON representation
A web-based admin dashboard for Rotaract Galgotias, built with Next.js and PostgreSQL. This application provides tools for managing events, members, and activities within the Rotaract community. Easily deployable using Docker with hot reloading support for development.
- Host: GitHub
- URL: https://github.com/rotaractgalgotias/admin-dashboard
- Owner: rotaractgalgotias
- Created: 2024-10-27T16:02:46.000Z (23 days ago)
- Default Branch: main
- Last Pushed: 2024-11-06T09:42:20.000Z (13 days ago)
- Last Synced: 2024-11-06T10:52:05.854Z (13 days ago)
- Topics: nextjs, postgres, prisma, server-action, shadcn-ui, tailwindcss
- Language: TypeScript
- Homepage: https://admin.rotaractgalgotias.org
- Size: 914 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rotaract Admin Dashboard
This project is a Next.js application configured to use Docker for both the app and a PostgreSQL database, optimized for development with hot reloading.
## Features
- **Next.js** for the frontend
- **Docker** setup for easy deployment and consistent development environments
- **PostgreSQL** as the database
- **Prisma** as the ORM
- **Hot Reloading** for development## Prerequisites
Ensure you have the following installed on your machine:
- [Docker](https://docs.docker.com/get-docker/)
- [Docker Compose](https://docs.docker.com/compose/)## Getting Started
### 1. Clone the Repository
```bash
git clone
cd
```### 2. Set Up Environment Variables
Create a `.env` file in the root directory and add the following variables:
```env
DATABASE_URL="postgresql://postgres:postgres@db:5432/mydatabase"
AUTH_SECRET=""
AUTH_TRUST_HOST=true
RESEND_API_KEY=""
DEPLOY_HOOK=""
```### 3. Install Dependencies
```bash
npm install
```### 4. Generate Prisma Client
```bash
npx prisma generate
```### 5. Build and Run the Docker Containers
```bash
docker-compose up -d
```### 6. Access the Application
Open your browser and navigate to `http://localhost:3000` to see the application running.