Skip to content

Let's build a subscription form with the Jamstack concept using Netlify Forms, Functions, and Fauna data-store.

License

Notifications You must be signed in to change notification settings

atapas/jamstack-subscription-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jamstack-subscription-form

Let's build a subscription form using the Jamstack concept. Netlify comes with the form handling capability that allows you to achieve the power of Jamstack for form handling.

With this project, we will build a simple(yet powerful) Subscription form and submit it using the Netlify forms capability. We will use the Netlify Functions to handle the form data and store it in a serverless data store called Fauna.

Want to Motivate?

Have you found this project helpful? You can give a star(⭐) to let me know, you care.

Many Thanks to all the Stargazers who has supported this project with stars(⭐)

Stargazers repo roster for @atapas/jamstack-subscription-form

How to run this project?

  • Clone this repository and change the directory to jamstack-subscription-form.
  • Install netlify-cli. Use this link to create an account with Netlify and install the CLI tool.
  • Create an account with Fauna. Create a database. Upload the schema and get the Server Key.
  • Create a file called, .env and place the server key as,
 FAUNA_API_SECRET=<FAUNA_SERVER_KEY>
  • Install dependencies
yarn install

# or npm install
  • Install dependencies for the netlify function
yarn script

# or npm script
  • Run the project locally,
netlify dev

The user interface should be accissable at http:https://localhost:8888

About

Let's build a subscription form with the Jamstack concept using Netlify Forms, Functions, and Fauna data-store.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages