About | What works | In development | Requirements |
🚀 Project to practice MVC architecture using Golang and MongoDB
The following libraries and languages were used in the project's construction:
- Go
- Gin-gonic
- Makefile
- Traslator
- Validator
- Docker Compose whith Mongodb
- zap package from uber
- jwt
- Model, view, controller, repository;
- Login User;
- Create User;
- Get User By ID;
- Get User By Email;
- Delete User;
- Middleware for authentication;
- Docker for mongoDB;
- Docker image for dev;
- jwt authentication;
- tests;
- Docker image for deploy;
Before you start, you will need to have the following tools installed on your machine: Git, Go, Docker. Additionally, it's good to have a code editor to work with, such as VSCode
# Clone this repository
# To start
$ docker compose up
# The server will start on port 8080 - <http://localhost:8080>
# To see mongoDB database using mongo-express, can use por 8081, username and password = admin - <http://localhost:8081>