Skip to content

0xberkay/flowerbasket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flowerbasket

Ciceksepeti e-commerce clone project

CLICK For Documentation

Diagram

Database Setup

The database files can be found in the database folder. You can either use the CicekSepeti-2022-12-31-22-33.dacpac file or upload the CicekSepeti-202221231-22-35-32.bak file to the MSSQL server as a backup.

Backend Installation - Source Code

  1. Install Go from go.dev.
  2. In the backend folder, open go.mod and download the required libraries.
  3. Once the libraries are downloaded, you can proceed to the execution phase.

Backend Setup - Bin File

  1. Download the appropriate bin folder from the releases.
  2. Once the bin file is downloaded, you can proceed to the execution phase.

Operation Phase

To get help with the available commands, use the -h flag.

To run the bin file or main.go file, use the following command with the relevant parameters:

go run -password yourPass -server yourDatabaseServer -user yourUserName -database yourDatabaseName -mail yourMail -mailpass yourMailPassword -mailserver yourMailServer

The server will be running at port 3000.

Interface Setup - Bin File

  1. Download and run the appropriate bin folder from the interface-builds folder.
  2. Make sure the backend is running before starting the interface.
  3. The interface works at 127.0.0.1:3000.

Interface Setup - Source Code

  1. Install Flutter from the official documentation.
  2. In the interface folder, open pubspec.yaml and download the required libraries with flutter pub get.
  3. To run the interface, use the flutter run command.
  4. To create a bin file for the target operating system, use the flutter build targetOS command.

Admin

Username: admin Password: admin