Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tegarpratama/social-network


https://github.com/tegarpratama/social-network

Last synced: 14 days ago
JSON representation

Awesome Lists containing this project

README

        

## Project Specs

- Framework : Golang Gin Framework
- Database : MySQL
- ORM: native

## Playing with migration

1. Generate migration file:

```
make migrate-create name=create_yourtablename_table
```

it will generate file migration up.sql & down.sql in folder scripts/migrations

2. Up table:

```
make migrate-up
```

3. Down table:
```
make migrate-down
```

## Modules

1. Authentication

- Register
- Login
- Refresh Token

2. CRUD Categories
3. CRUD Posts (WIP)