Categorygithub.com/burakkarasel/SMS-task
repository
0.0.0-20230317091409-0327eda86946
Repository: https://github.com/burakkarasel/sms-task.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

SMS Task


Table of Contents


Description

SMS Task is a Student Management System tool.

Technologies

Main Technologies

Libraries

Back To The Top


How To Use

Tools

Setup Database

  • Create a database in PostgreSQL and add its URL as a flag while running the app with -url flag.

Run tests

  • Create a test.sh file in root directory. Add executable with chmod +x test.sh.
  • Then put this piece of code in it.
#!/bin/bash

go test ./... -cover -url="postgresql://{user}:{password}@{db url}/{db name}?sslmode=disable"
  • Then you can run make test command.
make test

Start App

  • Create Dockerfile and Docker Compose file.

  • Run the app.

docker compose up

Give it a try

  • You can check out the endpoints with inputs via PostMan by opening this

Back To The Top


Author Info

Back To The Top