MortAPI
An API that calculates mortgages based on varying rates and locations(not sure what else we're adding in this)
Installation(Windows Machine)
Make sure you have msys2 GNU installed.
Make sure its in your systems PATH.
This is for Go's use of the C-compiler "gcc".
To start the application and build the users.db table:
go run main.go
Or install vscode's golang debugger extension (f5)
sqlite3
For the database, use sqlite3.
Sample commands once you're in the sqlite3 terminal:
sqlite3 users.db (to start the sql terminal)
.table (to check the tables that exist)
.exit (to exit sqlite3 and back to the main terminal)
Basic sql command to insert into the users.db:
INSERT INTO users (name, email, password) VALUES ('Thiel', 'thiel@gmail.com', 'password');
When using .exit and leaving sql folder back to the root directory:
cd ..