Skip to content

ksk1kd/trill

Repository files navigation

Table of Contents

Overview

This project is aimed at learning application development using Go for the backend and Next.js for the frontend.
It is designed as a web service where users can buy and sell image materials.

App Screenshot

Tech Stack

Backend

  • Language: Golang
  • Framework: Echo
  • ORM: GORM
  • DB: MySQL

Frontend

  • Language: TypeScript
  • Framework: Next.js
  • CSS Framework: ChakraUI

Development Setup

Create .env file for Backend

cp backend/app/.env.local.example backend/app/.env.local

Create .env file for Frontend

cp frontend/.env.local.example frontend/.env.local

Development Mode

This mode is used for local development.

Build

docker compose build

Start

Initialize and start with sample data

SEEDING=true docker compose up -d

Normal start

docker compose up -d

Stop

docker compose down

Production Mode

This mode is used for production environments. It can also be used to verify operations in an environment equivalent to production during development.

Build

docker compose -f docker-compose.yml build

Start

docker compose -f docker-compose.yml up -d

Stop

docker compose down

Access Information

In the local environment, you can access it at http://trill.localhost.

Login Information

The following sample users are provided for testing. Sample users will be created when starting with SEEDING=true docker compose up -d.

Email Address Password
[email protected] uHrdx55u
[email protected] uHrdx55u
[email protected] uHrdx55u
[email protected] uHrdx55u

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages