Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search page with POST and FormData examples #3

Merged
merged 27 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
62e6792
basic greeting API example
thescientist13 Aug 8, 2023
88c9950
basic form setup and response messaging
thescientist13 Aug 8, 2023
3a8d051
patch package
thescientist13 Aug 8, 2023
a27c479
patch package
thescientist13 Aug 8, 2023
ccd19cd
install htmx from npm
thescientist13 Aug 8, 2023
ce938e5
test htmx POST on vercel
thescientist13 Aug 9, 2023
20b672d
more vercel debugging
thescientist13 Aug 9, 2023
b39afa8
basic form data parsing
thescientist13 Aug 9, 2023
585bc45
continued iterating on POST support for Requests
thescientist13 Aug 10, 2023
fcb4822
patch to latest greenwood alpha
thescientist13 Aug 12, 2023
01216db
patch vercel adapter for POST support
thescientist13 Aug 12, 2023
b2a07b2
fix local dev API losing query params
thescientist13 Aug 16, 2023
2fbf35b
upgrade latest greenwood v0.29.0-rc.3 with FormData support
thescientist13 Aug 27, 2023
a7350d9
add Search page example
thescientist13 Aug 27, 2023
78f5232
patch package for shared API bundles missing
thescientist13 Aug 27, 2023
2f6faa0
add placeholder text to forms
thescientist13 Aug 27, 2023
5bf6046
add link to Vercel
thescientist13 Aug 27, 2023
e0e86ef
style no search results text
thescientist13 Aug 27, 2023
ffad240
move styles to standalone file
thescientist13 Aug 27, 2023
4fd6599
restore htmx
thescientist13 Aug 27, 2023
86dd90a
restore required attribute to input tags
thescientist13 Aug 27, 2023
ce0d2d8
close no results response span tag
thescientist13 Aug 27, 2023
20c8c41
add alt attribute to card images
thescientist13 Aug 27, 2023
de12557
fix footer link styles
thescientist13 Aug 27, 2023
fc3e70f
resize spinner image
thescientist13 Aug 27, 2023
ba9b0d7
upgrade latest greenwood v0.29.0-alpha.4
thescientist13 Sep 1, 2023
9f03416
README grammar
thescientist13 Sep 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# greenwood-htmx

A demonstration repo for [**Greenwood**](https://www.greenwoodjs.io/) + [**htmx**](https://htmx.org/) hosted with Vercel serverless functions. It is based on the [Greenwood Vercel demo repo](https://github.com/ProjectEvergreen/greenwood-demo-adapter-vercel).
A demonstration repo for [**Greenwood**](https://www.greenwoodjs.io/) + [**htmx**](https://htmx.org/) hosted with [**Vercel**](https://vercel.com/) serverless functions. It is based on the [Greenwood Vercel demo repo](https://github.com/ProjectEvergreen/greenwood-demo-adapter-vercel).

You can see it running live at [https://greenwood-htmx.vercel.app](https://greenwood-htmx.vercel.app).

## Setup

1. Clone the repo
1. Have Node >= `18.x` installed (if you **nvm**, run `nvm use`)
1. Have Node >= `18.x` installed (if you have **nvm**, run `nvm use`)
1. Run `npm ci`

You can run the following
- `npm run develop`: Start the Greenwood dev server
- `npm run dev`: Start the Greenwood dev server
- `npm start`: Generate a production build locally and serve it
Loading