- Golang
- Gin
- Dotenv
- Validator
- jwt-go
- mongo-driver
- crypto
- clone the repository
git clone [email protected]:olawuwo-abideen/authenticationgolang.git
- navigate to the folder
cd authenticationgolang.git
Open a terminal window session, or the equivalent on your machine, and enter the following command to install all the Node modules needed to run the app:
go mod tidy
After running go mod tidy
navigate to main.go file and enter the following go run main.go
command:
npm go run main.go
This will start the app and set it up to listen for incoming connections on port 3000. Open up your browser of choice and go to the url
http://localhost:3000
to start using the app.
The following API endpoints are available:
-
POST https://localhost:3000/user/signup
- User signup -
POST https://localhost:3000/user/login
- User login -
GET https://localhost:3000/user/
- Get all users -
GET https://localhost:3000/user/:id
- Get user by id
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/olawuwo-abideen authenticationgolang/issues).
๐ค Olawuwo Abideen
- GitHub: @Olawuwo Abideen
- Twitter: @Olawuwo Abideen
- LinkedIn: @Olawuwo Abideen