0.0.1 • Published 4 years ago

syncal-api-server v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

SynCal API Server

This is the back-end API server for project SynCal. The project is still under heavy development, but it will be later used as a teaching tool for full-stack application development.

Usage

The API keys and the default port number should be stored on the .env file.

NODE_ENV=development
PORT=3000
GLITCH_PROJECT_ID=<glitch project ID>
GLITCH_TOKEN=<glitch API token>
# install dependencies
yarn

# start server
yarn start

# build production application
yarn build

# run the sandbox script. This is generally for testing or running machine-specific cron jobs
yarn sandbox