# ecom **Repository Path**: CPLASF000000/ecom ## Basic Information - **Project Name**: ecom - **Description**: import from: https://github.com/sikozonpc/ecom.git - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-07-28 - **Last Updated**: 2024-07-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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. - [Migrate (for DB migrations)](https://github.com/golang-migrate/migrate/tree/v4.17.0/cmd/migrate) ## 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. ```bash make migrate-up ``` After that, you can run the project with the following command: ```bash make run ``` ## Running the tests To run the tests, you can use the following command: ```bash make test ```