Skip to content

EventAPI is a Go-based web server that generates random characters for different themed events like Christmas, Halloween, and Easter. It's designed to be lightweight, efficient, and easy to use.

Notifications You must be signed in to change notification settings

KaNiuSii/Go-EventAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EventAPI Project

🚀 About the Project

EventAPI is a Go-based web server that generates random characters for different themed events like Christmas, Halloween, and Easter. It's designed to be lightweight, efficient, and easy to use.

📁 Structure

  • main.go : Sets up the server and routes.
  • handlers.go : Contains handlers for different events to generate characters.
  • character.go : Defines the Character struct and character generation logic.
  • utils.go : Includes utility functions like CORS middleware and file reading.
  • go.mod : Module file for Go dependencies.
  • assets : Directory containing themed assets for character generation.

🏃‍♂️ How to Run

  1. Clone the repository.
  2. Navigate to the project directory.
  3. Run go build and ./eventapi to start the server.
  4. Access the server at http://localhost:8081.

🎨 Endpoints

  • /christmas/: Generates Christmas themed characters. 🎄
  • /halloween/: Generates Halloween themed characters. 🎃
  • /easter/ : Generates Easter themed characters. 🐰

🛠️ Built With

  • Go (version 1.21.4)

📚 Further Documentation

🤝 Contributing

Contributions, issues, and feature requests are welcome!

🌟 Show your support

Give a ⭐️ if this project helped you!


💡 Remember to check out the assets directory for each event to customize character data! 🎅👻🐇


👁️‍🗨️ Bonus 👁️‍🗨️ Few DALL·E Visualizations

  • 🎁
    image
  • 🦇
    image
  • 🐤
    image

About

EventAPI is a Go-based web server that generates random characters for different themed events like Christmas, Halloween, and Easter. It's designed to be lightweight, efficient, and easy to use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages