New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/je-von/TPA-Web-JV

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/je-von/TPA-Web-JV

  • v0.0.0-20220827021606-29575faf8ed2
  • Source
  • Go
  • Socket score

Version published
Created
Source

tohopedia

ℹ️ A tokopedia clone web app created with NextJS (TypeScript) and GraphQL (Go)

📂 The databases used in this app are MySQL (for development and testing) and PostgreSQL (for deployment)

🌐 The frontend side was deployed using Vercel, while the backend was deployed using Heroku

To view this app online you can visit: https://toped.vercel.app/

For testing, you may use the following credentials:
  • Email: jevon@mail.com
  • Password: jevon123

To develop and run this app locally, you can follow the following steps:

  1. Clone this repository:
git clone https://github.com/je-von/tohopedia.git
  1. Go to "backend" directory and create .env file.
cd backend

The environment variables you need to provide are:

DB_HOST=host_name
DB_PORT=port_number
DB_DATABASE=db_name
DB_USER=user_name
DB_PASSWORD=password

# for the DB_CONNECTION, you can choose between 'mysql' or 'pgsql'
DB_CONNECTION=mysql

# if you choose pgsql, you need to provide:
# DATABASE_URL=postgresql://[user[:password]@][netloc][:port][/dbname][?param1=value1&...]
  1. After creating your own database and configure the environment variables, you can run the server
go run server.go
  1. Run the frontend app
cd ../frontend
npm run dev

👁️ Web app preview: tohoped

Picture4Picture2Picture3
Picture1Picture5

Disclaimer: This project was created for learning purposes.

FAQs

Package last updated on 27 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc