Activity

Hardik Gupta

configured files to host trying to host over 2 hrs unable to success some feature are not working :(

Attachment
0
Hardik Gupta

so now you can preview the website and also do some minor changes locally :)

I think its my last devlog the project is unfinished I will finish it later
the backend support multiple city editing even the custom domain setup it will take time eventually so I wont be able to add for now I made the preview how the website seems to work currently its fetching from local storage it willl be changed to api
as this is incomplete I am not pushing this devlog to GitHub because I believe the quality of code :)

Attachment
Attachment
0
Hardik Gupta

made the setting page finally 8 hrs remaining to flavortown end and Still my project is unfinished I will try to finish in 8 hrs

In the following timeline I made settings page and fix multiple bugs across website while login

and setting page actually works name and avatar edit actually works I am using hackclub cdn to upload but actually I am uploading via backend :)

I made custom api for it. too

its cool ?

Attachment
0
Hardik Gupta

I added live universal custom event creation event the event username validation

so in this time I worked on backend mainly there I made events also universal means if someone create a page instead of sending request to the api it sends 2 request now 1 for user and 1 for events to get data and load on website and when event is created it update live time to that universal data and update the components

I also fixed multiple bugs and issue in the website :)

how it will help ?
so in react we don’t reload the whole. website when redirect specially in dashboard it will help to reduce api request and the api request is send on backend not frontend :)

whats next ?
so I think only 12 hrs remaining I will fastly add the user tab in sidebar footer and and a logout in a hr
remains time I will connect city it will take 4-5 hrs and at last every city dashboard

its very hard to complete because I have to also manage permission I will try to do it if time left sry :) but I will complete it

Attachment
Attachment
0
Hardik Gupta

today I made onboarding page because at start I was not taking name and I have to display it so it was only option to add onboarding page

A problem ?
yes here a problem came to place the universal name was setting to null from start when logging but I wanted to change name so I add useState to made the universal data changeable

for it I also have to create a api to set username to db

I also added sidebars I have to write code 2 times for a button but second time I finally made it
the sidebar button has a logo name website so user can choose current running event and they can edit website btw we can also set default event select

as I was taking a screenshot a problem came when hovering to event text its getting black I will fix it in next devlog

Attachment
Attachment
Attachment
0
Hardik Gupta

Um I forgot to make devlog after the GitHub push :(

But I have added so many great features to my app

  1. Added postgress db ;) (I will add redis support in it )
  2. Added univeral data context so by creating context and call usercontext you can get the person data without fetching again and again to the api and cluttering the mess in pages files (btw this is used in production of big apps)
  3. add nabber but not fully completed :( will try to work on dashboard currently
  4. added univeral email support so now everyone can register to our app
  5. Added onboarding page why so ? I got up in a problem where I only take email no name but I have to display name in sidebar how ? so onboarding page come to place but a sad part /onboarding works but its has a basic template not works like I can put name there but it work like if I change in db that I have a mame so it will not show onboarding screen
  6. Security is improved now when someone goes to any page it has to have a token in local storage just the cookie ? no the request also have to put in auth headers just headers no we also verify both are same or not a z++ security :)
Attachment
Attachment
Attachment
0
Hardik Gupta

so I finally centralised my template centralised will help to connect dashboard db api at a point so even if we want to add new template we can add it

also I added slugs so basically if you go to /template/build-guild/abc you will be redirected to 404
but if you go to /template/build-guild/preview you will end up in preview site

But what next ?
I am thinking that what if we made a key and and save values in local storage instead of db (db storage) :) just for preview and when user publish it with their event email verified mail id so they can push it and get a url with subdomain. Now the greatest part what if I request come from a sub domain and I redirect to main url /template/build-guild/[city] all the traffic would end up in the main website server so no more 2-3 servers just a nginx configuration.

Attachment
Attachment
0
Hardik Gupta

created db schema for prisma it was a bit complicated due to it was have not getting flexible due to every event will have different requirements so making the model optional and adding new optional model will fix it I think so if you have any suggestions please suggest

also fixed the footer of website for big screen so it say in centre and website look more professional

some bugs occoured
blueprint image link got broke so thinking to put in my own cdn server
and footer hyperlinks are not working fixing and making a final json file to edit preview website I think It will work

also thinking to make dashboard but login page I have to do changes because now its not for only 1 event so after the ui changes of it will be able to handle multiple events and also thinking to add a guest login so people can experience website but all the option would be disable some components option will be enable to can see how actually easy is to make website with it :)

Attachment
0
Hardik Gupta

um almost 18hrs ? yes it took me almost 18hrs to build just a template its a very high detailed template for build guild featuring the build guild theme

there are many other blocks that I didnt shown in screenshot it would take 2-3 screenshots more it was a very long project I used ai in some blocks only and multiple things was taken from previous projects blocks components website even colour noise effect from blueprint website by debugging it

now what ?
if you see on my code I preferred using [] for getting data to show like team page getting data of team image bio role etc so I will just fix everything and make a centralised system in template so I can put data there

then I will moving towards build api and dashboard a very major part for making it more efficient in handling requests I will add redis too

then the final part merging all together :)

USAGE:
If you want to use current version of it clone from GitHub and put all details in .env file I have a example file too and add a bypass in proxy.ts add “/template/build-guild” this in array to bypass login and just view it :)

Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
Attachment
0
Hardik Gupta

Shipped this project!

Hours: 13.34
Cookies: 🍪 58
Multiplier: 4.33 cookies/hr

This ship is currently not fully complete I will add a dashboard and the ui for the event website is ready just need to push to GitHub and make dashboard and link everything I need 1 day

Hardik Gupta

email ui was a bit broken because the ui was working in react email development website but multiple tailwind classes were not supported in email and the background design was not even loading in background in mobile it was bit broken

Attachment
0
Hardik Gupta

I have added authentication mechanism with otp via email and added custom email template support via react-email

Attachment
Attachment
0