Skip to content

toriowtf/go

Repository files navigation

Go and MongoDB Registration App

This is a simple web application that demonstrates a registration page using Go for the backend and MongoDB for data storage.

Project by Assan Nursapayev

Tools Used

  • 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.

Prerequisites

Getting Started

  1. Clone the repository:

    git clone https://github.com/toriowtf/go.git
  2. Navigate to the project directory:

    cd Migrations-and-Advanced-Crud-Operations
  3. Install the necessary Go packages:

    go get -u github.com/gorilla/mux
    go get go.mongodb.org/mongo-driver/mongo
  4. Start your MongoDB server.

  5. Run the Go application:

    go run main.go

Usage

  1. Visit http://localhost:8080 in your web browser.
  2. Click on the "Register" link to access the registration page.
  3. Enter a username and password in the registration form and submit.
  4. The registration data will be stored in the MongoDB database.

1 2

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors