Skip to content

This project is a web framework built using Go, which includes several key features like migration, websocket, middleware, model, validation, helpers, command execution, error handling, and auto-compilation. It is designed to provide a solid foundation for building web applications with Go.πŸ‘¨β€πŸ’»πŸš€

Notifications You must be signed in to change notification settings

sajad-dev/go-web-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Go Web Framework

This project is a web framework built using Go, which includes several key features like migration, websocket, middleware, model, validation, helpers, command execution, error handling, and auto-compilation. It is designed to provide a solid foundation for building web applications with Go.

πŸ“‹ Requirements

To run this project, you need the following:

  • Go 1.19 or higher
  • MySQL database for handling data storage
  • Git installed on your system
  • Supported platforms: Linux, macOS, Windows

πŸ“¦ Install Required Packages

Before running the project, you need to install the required Go packages.

Run the following command to install the dependencies:

go mod tidy

πŸš€ Installation and Setup

Follow these steps to set up the project:

  1. Install the package using go get:
go get github.com/sajad-dev/go-web-framework
  1. Import the package into your project:
import "github.com/sajad-dev/go-web-framework"
  1. Set up the environment variables (e.g., database connection):
cp .env.example .env
  1. Run the project:
go run main.go

πŸ§ͺ Running Tests

To run tests for this project, follow these steps:

  1. Run the tests using the go test command:
go test ./test/check-system
  1. To see more detailed output, use the -v flag:
  go test -v ./test/check-system

πŸ§‘β€πŸ’» Author

Mohammad Sajad Poorajam (Ω…Ψ­Ω…Ψ― Ψ³Ψ¬Ψ§Ψ― ΩΎΩˆΨ±ΨΉΨ¬Ω…)

About

This project is a web framework built using Go, which includes several key features like migration, websocket, middleware, model, validation, helpers, command execution, error handling, and auto-compilation. It is designed to provide a solid foundation for building web applications with Go.πŸ‘¨β€πŸ’»πŸš€

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages