- Spent some time fiddling with Docker because of some issues - Started looking at the user domain; going to start working on user authentication and login/sign up pages the following week
- Worked with storing array of dates in the db; had some issues with scanning the array back from postgres to #golang slices, resolved by using pq.StringArray type for the dates in the struct - Small fixes on the frontend
- Main page now fetches and displays the list of spaces from the db - A url is generated which will later be used for sharing the space with others - Have to work more with saving the dates in the backend
At most 2 hours a day on this per day, slow progress since I am learning as I go.
- Added some fields to the domain and generate urls that will later be shared with other users - Have to work on listing the spaces data on the main page
- Refactored some parts of the backend - Added CORS on the backend and now I am actually submitting the #react form and saving the data in the #postgres db
- Did not work on the project - Read some computer vision textbook for class
For anyone interested (this textbook is outdated but is known for covering all the fundamentals unlike others that jump to advanced topics): cse.usf.edu/~r1k/MachineVi…
Only had couple hours today for the project but I - Now have my #react calendar working as expected! I can undo the date selection and the css will work correspondingly - Spent some time figuring out how to pass state from child to parent bc I forgot
- Working with #react calendar to select multiple dates - Learning & getting used to #typescript and some javascript syntax - Created rough db relationships using dbdiagram (you are missing out if you haven't used @dbdiagram)
- Still getting used to #nextjs; feels like i am not making full use of its benefits but at least worked on couple pages - While working on the form and the calendar, I plan to start designing my db schema and work on the #golang backend
- I have worked with React before but realized I don't know much; learning nextJS and started making something - Just have dummy data to pass around and display on the page
- Wrapped up minimal designs on Figma (shared below) - Started picking up nextJS; realized nextJS has its own way of fetching data because of its nature of rendering server-side.
Hence goal this week would be to learn all the nextJS basics