keyshade icon indicating copy to clipboard operation
keyshade copied to clipboard

PLATFORM: Add create new project

Open kriptonian1 opened this issue 1 year ago • 17 comments
trafficstars

Description

Implement a “create new project” functionality in the dashboard of the platform. The created new project should be immediately updated in the project dashboard. Some part of create new project is done, which can find in apps/platform/src/app/(main)/page.tsx.

Scope of work

You have to implement 2 features from create new project.

  1. Add environment for the project, by default there is an environment named default. In the array of object environment, there should be only one default workspace. And user can add as many environments as they want.
  2. After sending the environment request. The project dashboard should auto refresh to show the recently added project.

Postman URL

Type of new project and environment

https://github.com/keyshade-xyz/keyshade/blob/f3a36326b4f5c945fb2725620ff92ab31e44e053/apps/platform/src/types/index.ts#L43-L54

Dialog for create new project

https://github.com/keyshade-xyz/keyshade/blob/f3a36326b4f5c945fb2725620ff92ab31e44e053/apps/platform/src/app/(main)/page.tsx#L116-L187

kriptonian1 avatar May 28 '24 06:05 kriptonian1

@kriptonian1 @rajdip-b I would like to work on this issue can u assign me under FOSS HACK

ayan-joshi avatar Jul 09 '24 13:07 ayan-joshi

Sure!

rajdip-b avatar Jul 09 '24 13:07 rajdip-b

@ayan-joshi best of luck buddy, let me know if you need any help

kriptonian1 avatar Jul 14 '24 14:07 kriptonian1

@kriptonian1 there is postman url attached which is not opening will I need it for my work ?

Create project

ayan-joshi avatar Jul 18 '24 15:07 ayan-joshi

@kriptonian1 there is postman url attached which is not opening will I need it for my work ?

Create project

Yeap! Here's the updated link: https://www.postman.com/keyshade/workspace/keyshade

rajdip-b avatar Jul 18 '24 15:07 rajdip-b

@rajdip-b I have a question , for this pr I would need to setup all 4 ports and can u help me with project setting up

ayan-joshi avatar Jul 20 '24 19:07 ayan-joshi

Hey @ayan-joshi! You can refer to our docs to understand how to set things up: https://docs.keyshade.xyz/contributing-to-keyshade/summary

rajdip-b avatar Jul 21 '24 04:07 rajdip-b

@rajdip-b I got it running locally , how to pass through auth page can u help?

ayan-joshi avatar Jul 21 '24 14:07 ayan-joshi

You would need to sign up like usual. Make sure the API is running.

rajdip-b avatar Jul 21 '24 14:07 rajdip-b

Hey @ayan-joshi, you need to run the API server and the platform simultaneously, and you need to create a .env file inside the platform and there add NEXT_PUBLIC_BACKEND_URL=http://localhost:4200

kriptonian1 avatar Jul 25 '24 02:07 kriptonian1

NEXT_PUBLIC_BACKEND_URL=http://localhost:4200

@kriptonian1 Yes I have done it already , I have got docker running , api is running too but I cant go past the auth page

ayan-joshi avatar Jul 25 '24 06:07 ayan-joshi

Can you show the errors in console

kriptonian1 avatar Jul 25 '24 07:07 kriptonian1

Can you show the errors in console

image

ayan-joshi avatar Jul 25 '24 08:07 ayan-joshi

Can you show the errors in console

image

Are you running the api in parallel ?

kriptonian1 avatar Jul 25 '24 14:07 kriptonian1

Can you show the errors in console

image

Are you running the api in parallel ?

yes

ayan-joshi avatar Jul 25 '24 15:07 ayan-joshi

If you are free then maybe we can get on a call tomorrow

kriptonian1 avatar Jul 25 '24 15:07 kriptonian1

This is related to error in your SMTP creds if im not wrong. I would advise you to call the endpoint from postman once

Can you show the errors in console

image

rajdip-b avatar Jul 25 '24 15:07 rajdip-b

@ayan-joshi unassigning due to inactivity

rajdip-b avatar Nov 05 '24 18:11 rajdip-b