Skip to content

lucasscarioca/dd-server

Repository files navigation

Dino Diary Server

This project is the backend for the Dino Diary App.

How to Run Locally

Setup

You also need to have Docker installed to run the development database.

Install Dependencies

# Using Make:
make install
# OR without Make:
go mod tidy

Run

  1. Execute postgreSQL database container:

    Start the container:

    docker compose up -d

    Run migrations:

    make migrate_up
  2. Start the server:

    # Using Make:
    make run
    # OR without Make:
    go run ./cmd/server/...

The server should start at port 3000.

Routes

Run in Insomnia}

About

Backend for Dino Diary App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published