This project is an authentication application with a React frontend and a Go (Golang) backend. Currently, the backend is in development, and it handles user registration.
The backend is built using the Go programming language with the Fiber framework. To set up and run the backend, follow these steps:
- Install Go (version 1.x): Follow the instructions on the official Go website.
- A SQL database (e.g., PostgreSQL, MySQL) running and accessible.
- Set up your database credentials.
-
Clone the Repository: First, clone the repository to your local machine.
git clone https://github.com/Dandiggas/AuthenticationApp cd /Authenticationapp
-
Install Dependencies: Navigate to the backend directory and install the required Go dependencies.
cd /Authenticationapp go mod tidy
-
Database Configuration: Open the database configuration file (usually located in a config file or directly in the main Go files). Insert your database credentials (host, user, password, dbname).
-
Run the Application: Start the server using the Go command.
go run main.go
Your backend server should now be running and listening for requests.
- Consider using environment variables for sensitive information like database credentials and secret keys.
- Use a
.env
file or export environment variables directly in your shell.
Document your API endpoints here as you develop them.
Instructions for setting up the React frontend will go here once developed.