Initial bootrap of application

- Creates scaffold for router and server
- Main program set up for environment, OS signal listener
- Makefile generic commands
This commit is contained in:
2021-06-17 17:06:21 -04:00
parent 61e39b6c2f
commit 336b21a835
14 changed files with 307 additions and 2 deletions
+17 -1
View File
@@ -1 +1,17 @@
# supermarket-api
# supermarket-api
Supermarket-API is a service providing functionality for cataloging produce and their prices.
## Getting Started
To start `supermarket-api` you will need to create an `.env` file at `cmd/api/.env`. A convenience example with sane defaults is located at `cmd/api/example.env` and you can create your environment file by running:
```
~$ cp cmd/api/example.env cmd/api/.env
```
Supermarket-API has a Makefile with commonly ran commands. To use the Makefile append the command to `make` in your terminal:
```
~$ make run
```