Skip to content

Files

Latest commit

4ec9166 · Apr 10, 2022

History

History
55 lines (38 loc) · 977 Bytes

README.md

File metadata and controls

55 lines (38 loc) · 977 Bytes

icon

FitCalendar API

Description

Backend (API) of FitCalendar project. Frontend: https://github.com/Andy1Blue/fitcalendar-www

Technologies and libraries

Libraries and technologies used in the project:

Installation

cp .env.example .env && npm install

Running the app

npm run build && npm run start:prod

Docker

docker-compose -f docker-compose.yml up -d --build

Heroku

heroku login
heroku create
git init
git add . && git commit -m "Deploy to Heroku"
heroku stack:set container -a fitcalendar-api
heroku config:set PORT=3001 # add other configs from .env
heroku config:set NODE_OPTIONS="--max_old_space_size=2560" -a [app_name]
git push heroku master

heroku open
heroku logs --tail

Test

npm run test