aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/dbasik-api/main.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rips out Postgres - but leaves migration files for nowMatthew Lemon2024-06-031-23/+4
| | | | | | | | | | | | | | | - this does not yet remove the models - uses sqlite3 driver - changes the config based on sqlite3 - tests pass but no depth in investigating the models The sqlite3 database is going to be used for storing user data and tokens only - we are not going to store the models in a database at this point. If we want to start saving datamaps, datamaplines, returns and returnlines, etc, we will need the models but as of this commit the models are still in the code.
* Adds ability to save a single datamap to the databaseMatthew Lemon2024-04-101-0/+2
|
* First introduction of migrations using golang-migrateMatthew Lemon2024-04-101-2/+2
|
* Adds some database pool configuration and flagsMatthew Lemon2024-04-101-1/+19
|
* Adds .env file with database dsn in itMatthew Lemon2024-04-101-1/+8
|
* Postgres implementation now set up and in containers - no tables yetMatthew Lemon2024-04-101-1/+37
|
* Adds docker compose config file and changes application portMatthew Lemon2024-04-101-1/+4
|
* Reorganises cmd/ structure for publication on pkg.go.devMatthew Lemon2024-04-061-0/+80
Adds key commands to Makefile