kuro-movies-api

command module
v0.0.0-...-ff529d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2023 License: MIT Imports: 5 Imported by: 0

README

kuro-movies-api

PWD

REST and GraphQL API of movies and actors

WIth REST you can:

  • Basic crud operations with movies and actors
  • Register and login with JWT

With GraphQL you can:

  • Query movies and actors

THIS API DON'T USE REAL INFORMATION.

This API was crated for learning purposes only.

See the DOCS

Run in Postman

Deploy

Follow any of these methods and open http://localhost:8080/ to see the API welcome page.

Docker

Run the command below to quickly deploy this project on your machine, see the docker image for more info.

docker run -d -p 8080:8080 kurovale/kuro-movies:sqlite
Quick Setup
  1. git clone https://github.com/kuro-vale/kuro-movies-api.git

  2. Set enviroment variables

    • DATABASE_UR = The url of your postgres database with sslmode disabled example: postgres://user:password@localhost:5432/kuro-movies?sslmode=disable

    • SECRET_KEY = A secret key to sign JWT tokens

  3. Meet go.mod dependencies

  4. Run go run ./main.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
+build tools
+build tools

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL