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

Typescript Seed Project (Angular, Hapi, Cookie Auth, TypeORM, Postgres)

License

Notifications You must be signed in to change notification settings

icereval/typescript-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/