command
module
Version:
v0.0.0-...-9a8b92e
Opens a new window with list of versions in this module.
Published: Aug 28, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
coqodaq
Restaurant Booking API
Migrations
- goose postgres postgres://postgres:@localhost:5431/coqodaq up
Creating New Model
- Step 1) Create New Schema in `sql/schema`
- Step 2) Run the migration
- Step 3) Create Queries in `sql/queries`
- Step 4) Run `sqlc generate`
Routes
Create Reservation
Example Request Body
{
name: "Flintstone Family",
party_size: 2,
time: "2024-08-31T23:00:00Z",
restaurant_id: 1,
table_id: 1
}
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.