ecom

module
v0.0.0-...-6cc2207 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2024 License: GPL-3.0

README

E-commerce REST API in Go

Installation

There are a few tools that you need to install to run the project. So make sure you have the following tools installed on your machine.

Running the project

Firstly make sure you have a MySQL database running on your machine or just swap for any storage you like under /db.

Then create a database with the name you want (ecom is the default) and run the migrations.

make migrate-up

After that, you can run the project with the following command:

make run

Running the tests

To run the tests, you can use the following command:

make test

Directories

Path Synopsis
cmd
api
services

Jump to

Keyboard shortcuts

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