polls_api

style: very good analysis License: MIT

? Description

A polls api using dart_frog.

  • localhost/polls
  • localhost/polls/[id]

☢️ This is a sample project and dart_frog is currently experimental. ☢️

⚙️ TechStack/framework used

?  How it works

This project uses postgres as its database.

  • Create a .env file at the root of the project which would include the data below for the postgres connection:

DB_HOST=
DB_PORT=
DB_NAME=
DB_USERNAME=
DB_PASSWORD=
  • Get the project packages
dart pub get
  • All done!

?  Start the server

You can simply run dart_frog dev. For more information check out dart_frog.

GitHub

View Github