/Lectronic-Apps

Collaboration Tim

Primary LanguageGo

Lectronic App

Lectronic

View Demo · Report Bug · Request Feature

## Built with

Backend:

golang  postgresql  jwt 

Deployed On:

heroku 

Description about project

Lectronic App is an application for selling electronic devices. users can order products and make payments through the third application, namely Midtrans. and users can manage profiles. For the admin role, you can manage product and user. This application is built with Golang using the gorilla/mux package for routing. The databases used in this application are PostgreSQL

Installation Steps

  1. Clone the repository

     https://github.com/Irsad99/Lectronic-Apps
  2. Install dependencies

    go mod tidy
  3. Environtment Variable

    Variable site

    BASE_URL=https://myelectronic.herokuapp.com
    APP_PORT=8080
    JWT_KEYS=my - lectronic - key

    Database

    DB_HOST=
    DB_NAME=
    DB_USER=
    DB_PASS=

    Config SMTP Gmail

    CONFIG_SMTP_HOST=smtp.gmail.com
    CONFIG_SMTP_PORT=587
    CONFIG_AUTH_EMAIL=youremail@gmail.com
    CONFIG_AUTH_PASSWORD=yourpassword

    Cloudinary Config

    CLOUD_NAME=
    CLOUD_KEY=
    CLOUD_SECRET=

    Midtrans Config

    MIDTRANS_CLIENT=
    MIDTRANS_SERVER=
  4. Run the app

    go run main.go server

Frontend Repository

Frontend Lectronic here

Documentation Postman

End Point Backend Lectronic here

Contributors

calvinrahmat Gustiana882 firyal-salsa

Developed with ❤️ in Indonesia 🇮🇩