This repository hosts the code for a comprehensive tutorial on building a Project Management Dashboard using Next.js, Node.js, and AWS services. Follow the video tutorial on YouTube for detailed setup, configuration, and deployment instructions.
For discussion and support for this specific app, join our Discord community.
- Frontend: Next.js, Tailwind CSS, Redux Toolkit, Redux Toolkit Query, Material UI Data Grid
- Backend: Node.js with Express, Prisma (PostgreSQL ORM)
- Database: PostgreSQL, managed with PgAdmin
- Cloud: AWS EC2, AWS RDS, AWS API Gateway, AWS Amplify, AWS S3, AWS Lambda, AWS Cognito
Ensure you have these tools installed:
-
Clone the repository:
git clone [git url]cd project-management -
Install dependencies in both client and server:
cd clientnpm icd ..cd servernpm i -
Set up the database:
npx prisma generatenpx prisma migrate dev --name initnpm run seed -
Configure environment variables:
.envfor server settings (PORT, DATABASE_URL).env.localfor client settings (NEXT_PUBLIC_API_BASE_URL)
- Run the project
npm run dev
- Complete project code on GitHub
- Tailwind CSS configuration
- Redux Toolkit setup
- Database seed files
- Image files
- globals.css file (to copy for Gantt charts)
- AWS EC2 Instruction file
- Command for resetting ID in database:
SELECT setval(pg_get_serial_sequence('"[DATA_MODEL_NAME_HERE]"', 'id'), coalesce(max(id)+1, 1), false) FROM "[DATA_MODEL_NAME_HERE]";
