Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/tatsuyahello/twitter-like-api-server

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/tatsuyahello/twitter-like-api-server

  • v0.0.0-20190713065311-86b71559f1b2
  • Source
  • Go
  • Socket score

Version published
Created
Source

Twitter-Like-API-Server

APIサーバの起動方法

  1. git clone origin https://github.com/tatsuyaHello/Twitter-Like-API-Server.git

  2. go run main.go

  3. sqlite3 post.sqlite3

  4. test_usersテーブルを作成する

CREATE TABLE test_users (
  id varchar(36) NOT NULL,
  name varchar(255) NOT NULL,
  created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (id),
  UNIQUE (name)
);

SET @user_1 = '11111111-1111-1111-1111-111111111111';
SET @user_2 = '22222222-2222-2222-2222-222222222222';
SET @user_3 = '33333333-3333-3333-3333-333333333333';

INSERT INTO test_users(id, name) VALUES
  (@user_1, 'alice')
  ,(@user_2, 'bob')
  ,(@user_3, 'charlie');
  1. go run main.go でサーバを起動し直す

FAQs

Package last updated on 13 Jul 2019

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