adropofilm / fanya_backend Goto Github PK
View Code? Open in Web Editor NEWPhoenix-powered backend API for keeping track of todo list tasks.
Phoenix-powered backend API for keeping track of todo list tasks.
Need to optionally be able to retrieve tasks based on their status (open vs closed)
Gigalixir, the hosting platform for the web app, does not automatically run db migrations, so I'll need to update the yaml to add this step.
However, Gigalixir does provide a command line tool that we can use to run database migrations as part of the deployment process. To run database migrations on Gigalixir, we will need to include a task in the mix.exs
file that runs the necessary migrations, and then execute that task using the Gigalixir CLI.
For example, we could define a task in your mix.exs file like this:
defmodule TodoBackend.Mixfile do
# ...
defp deps do
# ...
end
defp aliases do
# ...
alias TodoBackend.Mixfile,
run_migrations: ["ecto.migrate"]
end
end
and in the gigalixir CLI we can do something like this: gigalixir run "mix run_migrations"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.