You are browsing as a guest. Sign up (or log in) to start making projects!

Untitled

  • 1 Devlogs
  • 3 Total hours

A website to sell homemade cupcakes.

Open comments for this post

3h 23m 45s logged

I have created the landing page and the admin page(where you will be able to set the cupcake for the week) for the wedsite. I have also set it up on github pages so that i can host it for free.
The way I made the admin page update the cupcakes list is the following.
The admin page edits the cupcake list in the browser, using the locally saved GitHub token, then sends a PUT request to GitHub’s Contents API.That request commits the new public/data/weekly-cupcakes.json to karwals/Cupcakes on master, which triggers the GitHub Pages deploy workflow.
i have not made the images of the cupcakes work yet that is the next step. and making the order now work.

0
0
1

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…