IguJl15 / back-projeto-integrador

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Back End Bot News

Docs


A server app built using Shelf, configured to enable running with Docker.

Setting the environment

  • Create a new file named .env on the project root
  • Copy the content from .env.example to .env
  • Change the values from .env file to the proper configurations
  • Run the following commando to generate the env dart class
dart run build_runner build -d

Running the sample

Running with Docker

If you have Docker Desktop installed, you can build and run with the docker compose

  • First run the Postgresql database server
docker compose up postgresql
docker compose up dart-server

You should see the logging:

Server listening on InternetAddress('0.0.0.0', IPv4) with port 8080
CONECTADO AO BANCO DE DADOS POSTGRES

About


Languages

Language:Dart 99.6%Language:Dockerfile 0.4%