Skip to content

Latest commit

 

History

History
41 lines (37 loc) · 759 Bytes

README.md

File metadata and controls

41 lines (37 loc) · 759 Bytes

Coderhouse Backend

Setup

  • pm2 is required to start the production server
  • ts-node required to start development server
  • typescript required to build the project

Install dependencies and start production server

npm install
npm run start

Routes

Views

  • / - home
  • /chat
  • /login
  • /logout
  • /signup
  • /carrito
  • /productos

API Routes

  • /api - all API routes are nested here
  • /api/carrito
  • /api/productos

GraphQL and GraphiQL

  • /api/productos/graphql
  • /api/carrito/graphql

Test accounts

Admin account can be accesed with:

email: admin@admin.com
password: admin

Inbox can be viewed at https://ethereal.email. Log in with test user:

username: alfonzo.nolan22@ethereal.email
password: XsRdE7mF5cd3sBbMES