Welcome to the Authentication RESTful API repository! This project demonstrates how to build a simple authentication API using the Go programming language and the Command Query Responsibility Segregation (CQRS) pattern.
authentication-api/ ├── cmd/ │ ├── main.go (Entry point for the authentication service) ├── handlers/ │ ├── register.go │ ├── login.go │ └── common.go ├── models/ │ ├── commands.go │ └── events.go └── main.go (Common setup for the entire application)
This repository provides a basic example of implementing user registration and login functionality within an authentication API. It follows the CQRS pattern to separate read and write operations, enhancing scalability and maintainability.
- User registration with unique usernames
- User login with JWT-based authentication
- Project organized following best practices and modularity
Before you begin, ensure you have the following:
- Go programming language (installed and configured)
- Basic understanding of RESTful APIs and Go
-
Clone this repository:
git clone https://github.com/ashikfec01/golang_projects.git