Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.07 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.07 KB

sample-api

It’s built with JavaScript – a very light node plus express server, sequelize with postgres database.

Table of Contents

Installation

You can either run it manually or using Docker commands to spawns up all the stack components.

Manually

  1. Go to sample-api
  2. Run the following commands:
    1. npm install --save-dev sequelize-cli
    2. npx sequelize-cli db:migrate
    3. npm install
    4. npx ts-node-dev src/server.ts

You can now access to API-Endpoints through http://localhost:3000/api/. See API-Endpoints Documentation.

Docker

Run the following commands: docker-compose up

You can now access to API-Endpoints through

Features

  • Login/Register
  • Create notes
  • List their own notes