Skip to content

goodlifechris/workflow

Repository files navigation

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

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

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!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Workflow Builder

Workflow Builder is a full-stack application for creating and managing dynamic workflows visually. This README provides setup instructions for local development, Docker usage, and deployment.

Features

  • Visual workflow builder
  • Auth system (NextAuth.js)
  • PostgreSQL + Prisma ORM
  • CI/CD via GitHub Actions
  • Dockerized for production

🚀 Getting Started Locally

1. Clone the repository

git clone https://github.com/your-username/workflow-builder.git
cd workflow-builder

2. Create environment variables

Create a .env file in the root directory and add the following:

DATABASE_URL=postgresql://postgres:postgres@localhost:5432/workflow-builder?schema=public
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=your-secret-key-here

3. Install dependencies

npm install

4. Run the development server

npm run dev

Access the app at http://localhost:3000.

🐳 Run postgres with Docker

1. Build and start container

docker-compose up db --build

🐳 Run all with Docker

1. Build and start containers

docker-compose up --build

2. Access the app


✅ CI/CD

This project uses GitHub Actions for CI/CD. On every push to the main branch:

  • Linting, testing, and Prisma migration are run
  • Future: automatic deploy to production via Docker (e.g., Railway or Render)

🧪 Running Tests

npm run test

Make sure your PostgreSQL database is running before running tests.


🛠 Tech Stack

  • Next.js
  • TypeScript
  • Prisma + PostgreSQL
  • Tailwind CSS
  • Docker
  • GitHub Actions

📄 License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors