mortapi

command module
v0.0.0-...-d95a18b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2024 License: MIT Imports: 8 Imported by: 0

README

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 ..

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL