Skip to content
This repository has been archived by the owner on Feb 12, 2020. It is now read-only.

Latest commit

 

History

History
31 lines (20 loc) · 701 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 701 Bytes

electron-calculator-server

The purpose of this project is to learn Electron + React by building the Calculator’s desktop app to communicate with REST api server.

You can check the client app repo at electron-calculator-client

Technologies

  • Hapi
  • Hapi-swagger
  • Mongoose

API Documentation

available at localhost:3000/documentation

Build Setup

# install dependencies
$ yarn install

# set up DATABASE_URI in .env files
Example: DATABASE_URI=mongodb://localhost:27017

# run development mode
$ yarn dev

# build for production and launch server
$ yarn build && yarn start