Skip to content

Michelprogram/serverless-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

Api function deploy on aws

Deploy backend api in golang with aws lambda


Table of Contents
  1. 🧭 About The Project
  2. 📋 Getting Started
  3. 💾 Usage
  4. 🔗 Contributing
  5. 📰 License
  6. 📫 Contact
  7. ⛱️ Acknowledgments

🧭 About The Project

🏗️ Built With

List of technologies / frameworks used during the project.

  • Amazon
  • Go Badge

⬆️

📋 Getting Started

The concept of this project is to try cloud functionnality with aws.

🗺️ Prerequisites

You need Go 1.19 for running this project.

Get Golang at this url : https://go.dev/doc/install

Need to create en api gateway before aws lambda

⬆️

💾 Usage

To build zip file and deploy on aws lambda :

$bash : ./build-zip.sh

To test the endpoint

#Get
$bash : curl --location 'https://v5apipob7g.execute-api.eu-west-1.amazonaws.com/staging'

#Post
$bash : curl --location 'https://v5apipob7g.execute-api.eu-west-1.amazonaws.com/staging' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email":"name.surname@tech.com",
    "firstName":"firstname",
    "lastName":"lastname"
}'

⬆️

🔗 Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

⬆️

📰 License

Distributed under the MIT License. See LICENSE.txt for more information.

⬆️

📫 Contact

Reach me at : gauron.dorian.pro@gmail.com.

Project Link: https://github.com/Michelprogram/serverless-go.git

⬆️

⛱️ Acknowledgments

This space is a list to resources i found helpful and would like to give credit to.

⬆️

Template inspired by othneildrew