Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs and Auto Migrations #1

Open
itgelo opened this issue Sep 9, 2019 · 1 comment
Open

Docs and Auto Migrations #1

itgelo opened this issue Sep 9, 2019 · 1 comment

Comments

@itgelo
Copy link

itgelo commented Sep 9, 2019

I was try this boilerplate. But when acess /docs page not found and there is no table in database test

how to use this boilerplate?

@Stunext
Copy link
Owner

Stunext commented Sep 10, 2019

The first step to use this project is to copy the .env.example file to .env and modify it with your database parameters. A database is necessary to run the tests. Automatic migrations in GORM are disabled, you can enable it if you follow the GORM documentation. If you do not want to use automatic migrations, you can manually create the database structure using the tests files as a guide. To access the swagger documentation, you must go to /docs/index.html exclusively. This template is for personal use and is not yet finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants