Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

rmohashi/shopping-iot-api

Repository files navigation

Shopping IoT API

Setup

Environment Setup

  1. If necessary, update the datebase in your docker-compose.yml file:
  2. Create a .env from .env.sample and edit with your configuration
  3. Run docker-compose up -d to start the database
    • If you want to see the log, exclude the -d flag
    • To stop it, run docker-compose stop

Installing dependencies

  1. Run:
    npm install

Running

Develoment

  1. Run to start the server:
    npm run start

Project structure

File name                Description         

└── src (directory) Contains the source files for your GraphQL server
  ├── index.ts The entry point for your GraphQL server
  ├── core (directory) Application's core files
  └── api (directory) GraphQL API files
    ├── modules (directory) The application modules
    └── server.ts API entry file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published