This is a simple web application that demonstrates a registration page using Go for the backend and MongoDB for data storage.
- Go: Programming language for the backend.
- MongoDB: NoSQL database for storing user registration data.
- Gorilla Mux: Go package for routing.
- MongoDB Go Driver: Official MongoDB driver for Go.
-
Clone the repository:
git clone https://github.com/toriowtf/go.git
-
Navigate to the project directory:
cd Migrations-and-Advanced-Crud-Operations -
Install the necessary Go packages:
go get -u github.com/gorilla/mux go get go.mongodb.org/mongo-driver/mongo
-
Start your MongoDB server.
-
Run the Go application:
go run main.go
- Visit http://localhost:8080 in your web browser.
- Click on the "Register" link to access the registration page.
- Enter a username and password in the registration form and submit.
- The registration data will be stored in the MongoDB database.

