https://github.com/kayprogrammer/socialnet-v4
A Realtime Social Networking API built with Go Fiber & ENT ORM
https://github.com/kayprogrammer/socialnet-v4
entity-framework fiber gofiber golang orm
Last synced: 4 months ago
JSON representation
A Realtime Social Networking API built with Go Fiber & ENT ORM
- Host: GitHub
- URL: https://github.com/kayprogrammer/socialnet-v4
- Owner: kayprogrammer
- License: mit
- Created: 2024-01-02T11:47:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-06T23:25:19.000Z (almost 2 years ago)
- Last Synced: 2024-12-01T19:13:48.498Z (about 1 year ago)
- Topics: entity-framework, fiber, gofiber, golang, orm
- Language: Go
- Homepage:
- Size: 121 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SOCIALNET V4
A realtime social networking API built with Fiber & ENT ORM

#### FIBER DOCS: [Documentation](https://docs.gofiber.io/)
#### ENT DOCS: [Documentation](https://entgo.io/docs/getting-started/)
#### PG ADMIN: [Documentation](https://pgadmin.org)
## How to run locally
* Download this repo or run:
```bash
$ git clone git@github.com:kayprogrammer/socialnet-v4.git
```
#### In the root directory:
- Install all dependencies
```bash
$ go install github.com/cosmtrek/air@latest
$ go mod download
```
- Create an `.env` file and copy the contents from the `.env.example` to the file and set the respective values. A postgres database can be created with PG ADMIN or psql
- Run Locally
```bash
$ air
```
- Run With Docker
```bash
$ docker-compose up --build -d --remove-orphans
```
OR
```bash
$ make build
```
- Test Coverage
```bash
$ go test ./tests -v -count=1
```
OR
```bash
$ make test
```









