Giter Site home page Giter Site logo

warrensbox / falcon-form Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 12.84 MB

Simply send your contact form to our URL and we'll forward the information to your email

Home Page: http://falcon-form.warrensbox.com

License: MIT License

Makefile 6.58% Go 93.42%
aws-apigateway aws-lambda go

falcon-form's People

Contributors

dependabot[bot] avatar warrensbox avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

falcon-form's Issues

Parse request body and validate body, reject if violated

Current accepted model:

type Message struct {
	OwnerEmail     string `json:"owner_email"`
	ContactEmail   string `json:"contact_email,omitempty"`
	ContactPhone   string `json:"contact_phone,omitempty"`
	MessageContent string `json:"message_content"`
}

Might need to add validation library

Set return Header

Set Header status to '200 OK' if everything is successful or 403 if something went wrong

Configure reply to in email body

If a request contains, contact_email, use contact_email as the 'reply to' option in the email body
otherwise, use owner's email as the 'reply to'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.