Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Latest commit

 

History

History
46 lines (31 loc) · 896 Bytes

README.md

File metadata and controls

46 lines (31 loc) · 896 Bytes

Typescript Seed

Requirements

Services

  • docker-compose up
    • postgres

Server

Install and Run

  • yarn install
  • npm start

Migrations

  • npm run migrate schema:sync
  • npm run migrate migrations:create
  • npm run migrate migrations:run

API

Local Server: http://localhost:5000/

Endpoint Method URI
Login POST /login
Logout DELETE /logout
Sign Up POST /signup
Show User Info GET /users/{id}
Show My User Info GET /users/me
Update My User Info PUT /users/me

WebApp

  • yarn install
  • npm start

Local Server: http://localhost:3000/