superkit/README.md

48 lines
526 B
Markdown
Raw Normal View History

2024-06-06 11:51:22 +02:00
# GOTHKIT
2024-06-06 16:53:16 +02:00
> NOT READY (YET)
2024-06-06 11:51:22 +02:00
# Installation
```
go install github.com/anthdm/gothkit@master
```
After installation you can create a new project by running:
```
gothkit [myprojectname]
2024-06-07 09:24:46 +02:00
```
2024-06-07 13:44:13 +02:00
Navigate to your project and start the development server:
2024-06-07 11:26:58 +02:00
```
cd [myprojectname]
make dev
```
2024-06-07 09:24:46 +02:00
# Getting started
## Migrations
### Create a new migration
```
make db-mig add_user_table
```
### Migrate the database
```
make db-up
```
### Reset the database
```
make db-reset
```
### Seed the database
```
make db-seed
```