Answer the question
In order to leave comments, you need to log in
I do not understand the algorithm for connecting a database to a web application. What steps should be?
I have a website built in vue.js + C#. PostgreSQL is used as a database, the site developers left a backup file in .sql format. How to run the site locally so that the database is loaded with a backup? The site has an admin panel for managing managers. Maybe somehow through it it will be possible to load the backup correctly?
Downloaded pgAdmin for these cases.
I don’t quite understand how a separately created database can contact the application, do I need to write something for this in the application files?
PS Locally created the database, the superuser too.
PSS Operating system Ubuntu 18 LTS
Answer the question
In order to leave comments, you need to log in
Install subd.
Create a base.
Create a user (it's not always safe to be rooted, even on LAN).
Upload the dump, which is in sql format, into the database.
Connect your app.
www.codeproject.com/KB/database/afppostgresqlintro.aspx
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question