This is a simple API project built with Go language that provides functionalities for creating and managing forms and answers.
- Go 1.20
- MongoDB
Or just docker-compose
- Clone the repository:
git clone https://github.com/Pablo1Gustavo/gogo-form.git cd gogo-form
- Install the dependencies:
go mod download
- Create a .env file and set your configuration:
cp .env.example .env
- Run the application
go run main.go
You can easilly run the application with Docker using the following make commands (or running the specified commands on Makefile manually)
make build
to build the imagemake run
to run the application from the containermake stop
to stop the container
After run the application you can test the endpoints looking it in main file or in the postman collection on doc
folder.