This project is developed by students at Georgia Tech in the Computing for Good Program.
Follow these steps to set up and run the Atlanta Food Consortium application on your local machine.
Before you begin, ensure you have the following installed:
-
Node.js (v20.0.0 or higher)
- Download from nodejs.org
- Verify installation:
node -v
-
Docker Desktop
- Download from docker.com
- Ensure Docker is running before proceeding
-
Install Dependencies
npm install
-
Start Docker Database
docker compose up -d
This will start a PostgreSQL database container on port 5434.
-
Run Database Migrations
npm run migrate:dev
This applies all Prisma migrations to set up your database schema.
-
Open Prisma Studio (Optional - in a separate terminal)
npx prisma studio
This opens a browser-based database GUI at
http://localhost:5555 -
Start Development Server (in a separate terminal)
npm run dev
The application will be available at
http://localhost:3000
The project requires a .env file in the root directory. Key variables include:
DATABASE_URL="postgresql://atlanta_food_user:dev_password_change_in_production@localhost:5434/atlanta_food_consortium?schema=public"
NEXTAUTH_SECRET=your-secret-key-here
NEXTAUTH_URL=http://localhost:3000Note: Docker Compose also loads the
.envfile and usesDATABASE_USER,DATABASE_PW, andDATABASE_NAMEto configure the PostgreSQL container. You can either:
- Hard-code these values directly in
docker-compose.yml, or- Add them to your
.envfile so they're shared between Docker and your applicationThe
DATABASE_URLin your.envfile should match the credentials set in Docker Compose to ensure your application can connect to the database.
To stop the Docker database:
docker compose downThe Atlanta Food Consortium application has been developed by:
- Abhishek Karkar
- Akram Alsamarae
- Akrem Elfatih Abdelwahab
- Jun Siang Neo
- Justin McLellan
- Mika Yoshimura
- Mitchell Rysavy
- Taisiia Bahbouche