amethystant/syncview-api
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
How to run:
- Generate SSL certificate, export pfx and replace cert.pfx with it in index.js (unless testing)
- In constants.js, update the CORS_CLIENT_URL value based on the URL of the client app
- Generate a new token secret with `require('crypto').randomBytes(64).toString('hex')` in node runtime, replace token in secrets.js with it (unless testing)
- Set NODE_ENV to production (makes express not return call stacks, etc.) if in production
- > node .