feat: implement project initialization system#109
Conversation
|
@JamesVictor-O is attempting to deploy a commit to the christroa's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@JamesVictor-O |
|
@Benjtalkshow yes I did base on the issue requirement except for the last submission, because I had no other member add, is there a problem? Is there something I need to fix? |
Benjtalkshow
left a comment
There was a problem hiding this comment.
I really appreciate the effort and work you’ve done so far. But there are a few things you need to fix:
1. Project Initialization Form
You didn’t follow the issue description properly. It clearly stated that we only need a project initialization form with the following fields:
title(string, required): Project titledescription(string, required): Description of the projectfundingGoal(number, required): Target funding goal (e.g. 5000)category(string, required): Project category (e.g. "tech")banner(file, required): Project banner imagelogo(file, required): Project logo image
The goal is for users to only initialize the project and submit it for admin review not to provide all project details at once. Once the project is approved, users can use the existing form to complete the rest of the details.
You’re expected to create a new form that only collects the fields listed above.
2. Do Not Modify the Existing Form
Please do not tamper with the existing form.
Instead, create a new route, e.g., /dashboard/init, and build the new form there.
3. Use the Correct Backend API
You submitted the data to a Prisma database, but the issue specifically asked you to use the provided backend API endpoint.
Check our API documentation under the Project Ideas section to find the correct endpoint for creating a project.
See the image below:
4. Updated Stack Info
We were initially using Prisma with PostgreSQL, but we’ve moved to a standalone backend built with Express.js and MongoDB.
We now use NextAuth for authentication, and all user data and interactions go through our MongoDB backend.
5. Learn How Frontend Talks to Backend
To better understand how our frontend connects to the backend API, please look into these files:
auth.ts(root directory)libs/api/api.tslibs/api/auth.tslibs/api/dashboard.tslibs/api/types.tslibs/api/README.md
6. Use the New UI Design
We're also redesigning the project interface. Please use the Figma design below to build the new project initialization form.
Just the form not the sidebar.
Sorry for the confusion and extra work. If you have any questions, feel free to ask.
Thanks🙏
|
@Benjtalkshow talk for the clarification, now I understand clearly, let me work on it and push. please can i get the link to the figma file ? Thank you so much |
@JamesVictor-O use the image i attached to my comment. There's no design system. So extract the color from the image |
|
@0xdevcollins this is the draft request please check it out |
- Added a new API function `initProject` to handle project submissions, improving code organization and maintainability. - Updated the project initialization page to utilize the new API function for submitting project data, enhancing error handling and logging. - Made minor adjustments to form descriptions for better clarity.


Description
Implements a two-stage project submission process where projects must be validated by the community before launching funding campaigns.
close #102
Changes Made
New API Endpoint
Form Updates
Form Updates
Technical Details
Files Changed
Screenshots